android maps: How to Long Click a Map?
I’ve found an even easier way. Just make an overlay as the first overlay in the list that does not draw anything and use it to recognize gestures using the GestureDetector. It should then return true if it handled the event so it doesn’t get propagated. List<Overlay> overlays = mapView.getOverlays(); overlays.clear(); overlays.add(new MapGestureDetectorOverlay(new MyOnGestureListener())); And … Read more