
public class MapEventsOverlay extends Overlay
MapEventsReceiverOverlay.SnappablemBounds, SHADOW_X_SKEW, SHADOW_Y_SCALEDEFAULT_ZOOMLEVEL_MINIMAP_DIFFERENCE, NOT_SET| Constructor and Description |
|---|
MapEventsOverlay(Context ctx,
MapEventsReceiver receiver)
Deprecated.
|
MapEventsOverlay(MapEventsReceiver receiver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onLongPress(MotionEvent e,
MapView mapView)
By default does nothing (
return false). |
boolean |
onSingleTapConfirmed(MotionEvent e,
MapView mapView)
By default does nothing (
return false). |
draw, draw, drawAt, getBounds, getSafeMenuId, getSafeMenuIdSequence, isEnabled, onDetach, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onPause, onResume, onScroll, onShowPress, onSingleTapUp, onTouchEvent, onTrackballEvent, setEnabled@Deprecated public MapEventsOverlay(Context ctx, MapEventsReceiver receiver)
MapEventsOverlay(MapEventsReceiver) insteadpublic MapEventsOverlay(MapEventsReceiver receiver)
receiver - the object that will receive/handle the events.
It must implement MapEventsReceiver interface.public boolean onSingleTapConfirmed(MotionEvent e, MapView mapView)
Overlayreturn false). If you handled the Event, return true
, otherwise return false. If you returned true none of the following Overlays
or the underlying MapView has the chance to handle this event.onSingleTapConfirmed in class Overlaypublic boolean onLongPress(MotionEvent e, MapView mapView)
Overlayreturn false). If you handled the Event, return true
, otherwise return false. If you returned true none of the following Overlays
or the underlying MapView has the chance to handle this event.onLongPress in class Overlay