GesturesConfig

abstract class GesturesConfig

The gesture config of the map view.

An instance of this class can be constructed with the GesturesConfig fake constructor function.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Mutable

Mutable variant of GesturesConfig.

Properties

Link copied to clipboard

Map of excluded gestures types per gesture type. If a gesture A is excluded for B, A is ignored while B is already ongoing. See DEFAULT_EXCLUSIONS for default value.

Link copied to clipboard

Flag determining whether the map panning with two or more fingers is enabled. True by default.

Link copied to clipboard

Flag determining whether the rotation is enabled. True by default.

Link copied to clipboard

Flag determining whether the scroll gesture is enabled. True by default.

Link copied to clipboard

Flag determining whether the tilt (aka shove) gesture is enabled. True by default.

Link copied to clipboard

Flag determining whether the zoom gesture is enabled. True by default.

Functions

Link copied to clipboard
fun copy(configure: GesturesConfig.Mutable.() -> Unit = { }): GesturesConfig

Copies the GesturesConfig and applies the changes by configure to the copied instance.