GesturesSettings

Gesture configuration allows to control the user touch interaction.

Types

Link copied to clipboard
class Builder

Composes and builds a GesturesSettings object.

Functions

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

Overloaded equals function.

Link copied to clipboard
open override fun hashCode(): Int

Overloaded hashCode function based on all class properties.

Link copied to clipboard

Convert to Builder allowing to change class properties.

Link copied to clipboard
open override fun toString(): String

Overloaded toString function.

Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

Whether double tapping the map with one touch results in a zoom-in animation. Default value: true.

Link copied to clipboard

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

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. Default value: true.

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

Link copied to clipboard

Whether pan is enabled for the pinch gesture. Default value: true.

Link copied to clipboard

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

Link copied to clipboard

Whether the pinch to zoom gesture is enabled. Default value: true.

Link copied to clipboard

Whether the pitch gesture is enabled. Default value: true.

Link copied to clipboard

Whether the quick zoom gesture is enabled. Default value: true.

Link copied to clipboard

Whether a deceleration animation following a rotate gesture is enabled. True by default. Default value: true.

Link copied to clipboard

Whether the rotate gesture is enabled. Default value: true.

Link copied to clipboard

Whether a deceleration animation following a scroll gesture is enabled. True by default. Default value: true.

Link copied to clipboard

Whether the single-touch scroll gesture is enabled. Default value: true.

Link copied to clipboard

Configures the directions in which the map is allowed to move during a scroll gesture. Default value: "horizontal-and-vertical".

Link copied to clipboard

Whether rotation is enabled for the pinch to zoom gesture. Default value: true.

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. Default value: 1.

Extensions

Link copied to clipboard

Returns if the scroll is horizontally limited, In other words, the scroll mode is set to vertical.

Link copied to clipboard

Returns if the scroll is vertically limited, In other words, the scroll mode is set to horizontal.