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

map MapSurface
the surface that was tapped
location LatLng
the geographic coordinate under the touch point
x int
the x pixel relative to the map component
y int
the y pixel relative to the map component