public interface MapTapListener
Receives tap and long-press notifications from a
MapSurface. Register
with MapSurface.addTapListener or MapSurface.addLongPressListener.Methods
public abstract void mapTapped(MapSurface map, LatLng location, int x, int y) | Invoked on the EDT when the user taps (or long-presses) the map. |
Method details
mapTapped
public abstract void mapTapped(MapSurface map, LatLng location, int x, int y)Invoked on the EDT when the user taps (or long-presses) the map.
Parameters
mapMapSurface- the surface that was tapped
locationLatLng- the geographic coordinate under the touch point
xint- the x pixel relative to the map component
yint- the y pixel relative to the map component