Gestures Plugin
interface GesturesPlugin : MapPlugin, ContextBinder, MapSizePlugin, GesturesSettingsInterface
Content copied to clipboard
Define the interfaces for the Layer plugin.
Functions
addOnFlingListener
Link copied to clipboard
addOnMapClickListener
Link copied to clipboard
abstract fun addOnMapClickListener(onMapClickListener: OnMapClickListener)
Content copied to clipboard
addOnMapLongClickListener
Link copied to clipboard
abstract fun addOnMapLongClickListener(onMapLongClickListener: OnMapLongClickListener)
Content copied to clipboard
addOnMoveListener
Link copied to clipboard
addOnRotateListener
Link copied to clipboard
addOnScaleListener
Link copied to clipboard
addOnShoveListener
Link copied to clipboard
addProtectedAnimationOwner
Link copied to clipboard
Add animator owner (see CameraAnimatorOptions.owner or MapAnimationOptions.owner which animation will not be canceled with when gesture animation is about to start.
bind
Link copied to clipboard
abstract fun bind(context: Context, attrs: AttributeSet?, pixelRatio: Float)
Content copied to clipboard
getGesturesManager
Link copied to clipboard
getSettings
Link copied to clipboard
initialize
Link copied to clipboard
onDelegateProvider
Link copied to clipboard
onGenericMotionEvent
Link copied to clipboard
onSizeChanged
Link copied to clipboard
onTouchEvent
Link copied to clipboard
removeOnFlingListener
Link copied to clipboard
removeOnMapClickListener
Link copied to clipboard
abstract fun removeOnMapClickListener(onMapClickListener: OnMapClickListener)
Content copied to clipboard
removeOnMapLongClickListener
Link copied to clipboard
abstract fun removeOnMapLongClickListener(onMapLongClickListener: OnMapLongClickListener)
Content copied to clipboard
removeOnMoveListener
Link copied to clipboard
removeOnRotateListener
Link copied to clipboard
removeOnScaleListener
Link copied to clipboard
removeOnShoveListener
Link copied to clipboard
removeProtectedAnimationOwner
Link copied to clipboard
Remove animator owner (see CameraAnimatorOptions.owner or MapAnimationOptions.owner) which animation will not be canceled with when gesture animation is about to start.
setGesturesManager
Link copied to clipboard
abstract fun setGesturesManager(internalGesturesManager: AndroidGesturesManager, attachDefaultListeners: Boolean, setDefaultMutuallyExclusives: Boolean)
Content copied to clipboard
updateSettings
Link copied to clipboard
Properties
doubleTapToZoomInEnabled
Link copied to clipboard
Whether double tapping the map with one touch results in a zoom-in animation.
doubleTouchToZoomOutEnabled
Link copied to clipboard
Whether single tapping the map with two touches results in a zoom-out animation.
focalPoint
Link copied to clipboard
By default, gestures rotate and zoom around the center of the gesture.
increasePinchToZoomThresholdWhenRotating
Link copied to clipboard
Whether pinch to zoom threshold increases when rotating.
increaseRotateThresholdWhenPinchingToZoom
Link copied to clipboard
Whether rotate threshold increases when pinching to zoom.
pinchToZoomDecelerationEnabled
Link copied to clipboard
Whether a deceleration animation following a pinch-to-zoom gesture is enabled.
pinchToZoomEnabled
Link copied to clipboard
Whether the pinch to zoom gesture is enabled.
pitchEnabled
Link copied to clipboard
Whether the pitch gesture is enabled.
quickZoomEnabled
Link copied to clipboard
Whether the quick zoom gesture is enabled.
rotateDecelerationEnabled
Link copied to clipboard
Whether a deceleration animation following a rotate gesture is enabled.
rotateEnabled
Link copied to clipboard
Whether the rotate gesture is enabled.
scrollDecelerationEnabled
Link copied to clipboard
Whether a deceleration animation following a scroll gesture is enabled.
scrollEnabled
Link copied to clipboard
Whether the single-touch scroll gesture is enabled.
scrollMode
Link copied to clipboard
Configures the directions in which the map is allowed to move during a scroll gesture.
simultaneousRotateAndPinchToZoomEnabled
Link copied to clipboard
Whether rotation is enabled for the pinch to zoom gesture.
zoomAnimationAmount
Link copied to clipboard
The amount by which the zoom level increases or decreases during a double-tap-to-zoom-in or double-touch-to-zoom-out gesture.
Inheritors
GesturesPluginImpl
Link copied to clipboard