MapGestureAdapter

abstract class MapGestureAdapter : MapGesturesDetector.MapGestureListener

Functions

onDoubleTap
Link copied to clipboard
open fun onDoubleTap(e: MotionEvent, isTwoFingers: Boolean): Boolean
Notified when a double-tap occurs.
onMapClicked
Link copied to clipboard
open fun onMapClicked(e: MotionEvent, isTwoFingers: Boolean): Boolean
Notified when a single-tap occurs.
onMapFling
Link copied to clipboard
open fun onMapFling(velocityX: Float, velocityY: Float): Boolean
Notified of a fling event when it occurs.
onMapLongClicked
Link copied to clipboard
open fun onMapLongClicked(e: MotionEvent): Boolean
Notified when a long click occurs.
onMapMove
Link copied to clipboard
open fun onMapMove(e1: MotionEvent, e2: MotionEvent, distanceX: Float, distanceY: Float): Boolean
Notified when a move occurs with the initial on down MotionEvent and the current move MotionEvent.
onMapMoveDone
Link copied to clipboard
open fun onMapMoveDone(): Boolean
Notified when a move is finished.
onRotation
Link copied to clipboard
open fun onRotation(gestureDetector: MapGesturesDetector)
Responds to rotation events for a gesture in progress.
onRotationBegin
Link copied to clipboard
open fun onRotationBegin(gestureDetector: MapGesturesDetector): Boolean
Responds to the beginning of a rotation gesture.
onRotationEnd
Link copied to clipboard
open fun onRotationEnd(gestureDetector: MapGesturesDetector)
Responds to the end of a rotation gesture.
onScale
Link copied to clipboard
open fun onScale(gestureDetector: MapGesturesDetector): Boolean
Responds to scaling events for a gesture in progress.
onScaleBegin
Link copied to clipboard
open fun onScaleBegin(gestureDetector: MapGesturesDetector): Boolean
Responds to the beginning of a scaling gesture.
onScaleEnd
Link copied to clipboard
open fun onScaleEnd(gestureDetector: MapGesturesDetector, scaleVelocity: Float)
Responds to the end of a scale gesture.
onTilt
Link copied to clipboard
open fun onTilt(detector: MapGesturesDetector)
Responds to tilt events for a gesture in progress.
onTiltBegin
Link copied to clipboard
open fun onTiltBegin(detector: MapGesturesDetector): Boolean
Responds to the beginning of a tilt gesture.
onTiltEnd
Link copied to clipboard
open fun onTiltEnd(detector: MapGesturesDetector)
Responds to the end of a tilt gesture.