Ali Behzadian Nejad Ali Behzadian Nejad - 1 year ago 235
Android Question

OSMDroid: Adding a marker when user taps on map

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


I am using osmdroid-android-4.0.jar

Answer Source

Look at OSMBonusPack MapEventsOverlay/MapEventsReceiver:

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download