I’ve implemented a Class that extends Overlay and also override the onTap / onTouchEvent (tried both).
Right now it seems like that event is triggered when you tap on the map regardless of position.
How can I make sure that the event is triggered only when you tap over the overlay you have added?
Thanks,
Tee
The overlay covers the entire map.
If you only want tap events when they tap on one of your items in an
ItemizedOverlay, useonTap().