-
- All Implemented Interfaces:
-
org.osmdroid.views.util.constants.OverlayConstants
public class OneFingerZoomOverlay extends Overlay
-
-
Method Summary
Modifier and Type Method Description booleanonDoubleTapEvent(MotionEvent event, MapView mapView)By default does nothing ( {@code return false}).booleanonDoubleTap(MotionEvent event, MapView mapView)By default does nothing ( {@code return false}).booleanonTouchEvent(MotionEvent event, MapView mapView)You can prevent all(!) other Touch-related events from happening! -
Methods inherited from class org.osmdroid.views.overlay.Overlay
draw, draw, getBounds, isEnabled, onDetach, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onLongPress, onPause, onResume, onScroll, onShowPress, onSingleTapConfirmed, onSingleTapUp, onTouchEvent, onTrackballEvent, setEnabled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onDoubleTapEvent
boolean onDoubleTapEvent(MotionEvent event, MapView mapView)
By default does nothing (
{@code return false}). If you handled the Event, return{@code true}, otherwise return{@code false}. If you returned{@code true}none of the following Overlaysor the underlying MapView has the chance to handle this event.
-
onDoubleTap
boolean onDoubleTap(MotionEvent event, MapView mapView)
By default does nothing (
{@code return false}). If you handled the Event, return{@code true}, otherwise return{@code false}. If you returned{@code true}none of the following Overlaysor the underlying MapView has the chance to handle this event.
-
onTouchEvent
boolean onTouchEvent(MotionEvent event, MapView mapView)
You can prevent all(!) other Touch-related events from happening!By default does nothing (
{@code return false}). If you handled the Event, return{@code true}, otherwise return{@code false}. If you returned{@code true}none of the following Overlaysor the underlying MapView has the chance to handle this event.
-
-
-
-