GesturesSettingsInterface

Interface that defines the public settings interface for GesturesPlugin.

Functions

Link copied to clipboard

Get current gestures configuration.

Link copied to clipboard
abstract fun updateSettings(block: GesturesSettings.Builder.() -> Unit)

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

Properties

Link copied to clipboard

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

Link copied to clipboard

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

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.

Link copied to clipboard

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

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

Link copied to clipboard

Whether pan is enabled for the pinch gesture.

Link copied to clipboard

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

Link copied to clipboard

Whether the pinch to zoom gesture is enabled.

Link copied to clipboard
abstract var pitchEnabled: Boolean

Whether the pitch gesture is enabled.

Link copied to clipboard

Whether the quick zoom gesture is enabled.

Link copied to clipboard

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

Link copied to clipboard
abstract var rotateEnabled: Boolean

Whether the rotate gesture is enabled.

Link copied to clipboard

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

Link copied to clipboard
abstract var scrollEnabled: Boolean

Whether the single-touch scroll gesture is enabled.

Link copied to clipboard
abstract var scrollMode: ScrollMode

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

Link copied to clipboard

Whether rotation is enabled for the pinch to zoom gesture.

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.

Inheritors

Link copied to clipboard
Link copied to clipboard