GesturesSettingsBase

Abstract settings class for GesturesPlugin.

This abstract class exposes all the required public APIs to configure the GesturesPlugin.

abstract class GesturesSettingsBase : GesturesSettingsInterface

Constructors

GesturesSettingsBase
Link copied to clipboard
fun GesturesSettingsBase()

Functions

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

Get current gestures configuration.

open override 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.

open override 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.

open override var doubleTapToZoomInEnabled: Boolean
doubleTouchToZoomOutEnabled
Link copied to clipboard

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

open override 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.

open override var focalPoint: ScreenCoordinate?

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

open override var increasePinchToZoomThresholdWhenRotating: Boolean

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

open override var increaseRotateThresholdWhenPinchingToZoom: Boolean
pinchToZoomDecelerationEnabled
Link copied to clipboard

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

open override var pinchToZoomDecelerationEnabled: Boolean
pinchToZoomEnabled
Link copied to clipboard

Whether the pinch to zoom gesture is enabled.

open override var pinchToZoomEnabled: Boolean
pitchEnabled
Link copied to clipboard

Whether the pitch gesture is enabled.

open override var pitchEnabled: Boolean
quickZoomEnabled
Link copied to clipboard

Whether the quick zoom gesture is enabled.

open override var quickZoomEnabled: Boolean
rotateDecelerationEnabled
Link copied to clipboard

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

open override var rotateDecelerationEnabled: Boolean
rotateEnabled
Link copied to clipboard

Whether the rotate gesture is enabled.

open override var rotateEnabled: Boolean
scrollDecelerationEnabled
Link copied to clipboard

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

open override var scrollDecelerationEnabled: Boolean
scrollEnabled
Link copied to clipboard

Whether the single-touch scroll gesture is enabled.

open override var scrollEnabled: Boolean
scrollMode
Link copied to clipboard

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

open override 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.

open override var zoomAnimationAmount: Float

Inheritors

GesturesPluginImpl
Link copied to clipboard