5

I want to display a marker on map where user taps on map. Also this should not infect double tap for zooming and/or moving Mapview.

I am using osmdroid-android-4.0.jar

PEHLAJ
  • 9,980
  • 9
  • 41
  • 53
Ali Behzadian Nejad
  • 8,804
  • 8
  • 56
  • 106

1 Answers1

3

Look at OSMBonusPack MapEventsOverlay/MapEventsReceiver:

http://code.google.com/p/osmbonuspack/source/browse/trunk/OSMBonusPack/src/org/osmdroid/bonuspack/overlays/MapEventsOverlay.java

You create a MapEventsOverlay, you add it to the maps overlay, and you pass it a MapEventsReceiver in which you implement your own singleTapUpHelper code.

MKer
  • 3,430
  • 1
  • 13
  • 18