GesturesSettingsInterface

Interface that defines the public settings interface for GesturesPlugin.

interface GesturesSettingsInterface

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getSettings
Link copied to clipboard

Get current gestures configuration.

abstract fun getSettings(): GesturesSettings
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
updateSettings
Link copied to clipboard

Update gestures configuration, the update will be applied to the plugin automatically.

abstract fun updateSettings(block: GesturesSettings.() -> Unit)

Properties

doubleTapToZoomInEnabled
Link copied to clipboard

Whether double tapping the map with one touch results in a zoom-in animation.

abstract var doubleTapToZoomInEnabled: Boolean
doubleTouchToZoomOutEnabled
Link copied to clipboard

Whether single tapping the map with two touches results in a zoom-out animation.

abstract var doubleTouchToZoomOutEnabled: Boolean
focalPoint
Link copied to clipboard

By default, gestures rotate and zoom around the center of the gesture. Set this property to rotate and zoom around a fixed point instead.

abstract var focalPoint: ScreenCoordinate?

Whether pinch to zoom threshold increases when rotating. true by default.

abstract var increasePinchToZoomThresholdWhenRotating: Boolean

Whether rotate threshold increases when pinching to zoom. true by default.

abstract var increaseRotateThresholdWhenPinchingToZoom: Boolean
pinchToZoomDecelerationEnabled
Link copied to clipboard

Whether a deceleration animation following a pinch-to-zoom gesture is enabled. True by default.

abstract var pinchToZoomDecelerationEnabled: Boolean
pinchToZoomEnabled
Link copied to clipboard

Whether the pinch to zoom gesture is enabled.

abstract var pinchToZoomEnabled: Boolean
pitchEnabled
Link copied to clipboard

Whether the pitch gesture is enabled.

abstract var pitchEnabled: Boolean
quickZoomEnabled
Link copied to clipboard

Whether the quick zoom gesture is enabled.

abstract var quickZoomEnabled: Boolean
rotateDecelerationEnabled
Link copied to clipboard

Whether a deceleration animation following a rotate gesture is enabled. True by default.

abstract var rotateDecelerationEnabled: Boolean
rotateEnabled
Link copied to clipboard

Whether the rotate gesture is enabled.

abstract var rotateEnabled: Boolean
scrollDecelerationEnabled
Link copied to clipboard

Whether a deceleration animation following a scroll gesture is enabled. True by default.

abstract var scrollDecelerationEnabled: Boolean
scrollEnabled
Link copied to clipboard

Whether the single-touch scroll gesture is enabled.

abstract var scrollEnabled: Boolean
scrollMode
Link copied to clipboard

Configures the directions in which the map is allowed to move during a scroll gesture.

abstract var scrollMode: ScrollMode
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. 1.0 by default. Must be positive.

abstract var zoomAnimationAmount: Float

Inheritors

GesturesPlugin
Link copied to clipboard
GesturesSettingsBase
Link copied to clipboard