GesturesSettings

Gesture configuration allows to control the user touch interaction.

data class GesturesSettings(rotateEnabled: Boolean, zoomEnabled: Boolean, scrollEnabled: Boolean, pitchEnabled: Boolean, doubleTapToZoomEnabled: Boolean, quickZoomEnabled: Boolean, focalPoint: ScreenCoordinate?, scaleVelocityAnimationEnabled: Boolean, rotateVelocityAnimationEnabled: Boolean, flingVelocityAnimationEnabled: Boolean, increaseRotateThresholdWhenScaling: Boolean, disableRotateWhenScaling: Boolean, increaseScaleThresholdWhenRotating: Boolean, zoomRate: Float, pixelRatio: Float)

Constructors

GesturesSettings
Link copied to clipboard
fun GesturesSettings(rotateEnabled: Boolean, zoomEnabled: Boolean, scrollEnabled: Boolean, pitchEnabled: Boolean, doubleTapToZoomEnabled: Boolean, quickZoomEnabled: Boolean, focalPoint: ScreenCoordinate?, scaleVelocityAnimationEnabled: Boolean, rotateVelocityAnimationEnabled: Boolean, flingVelocityAnimationEnabled: Boolean, increaseRotateThresholdWhenScaling: Boolean, disableRotateWhenScaling: Boolean, increaseScaleThresholdWhenRotating: Boolean, zoomRate: Float, pixelRatio: Float)

Functions

component1
Link copied to clipboard
operator fun component1(): Boolean
component10
Link copied to clipboard
operator fun component10(): Boolean
component11
Link copied to clipboard
operator fun component11(): Boolean
component12
Link copied to clipboard
operator fun component12(): Boolean
component13
Link copied to clipboard
operator fun component13(): Boolean
component14
Link copied to clipboard
operator fun component14(): Float
component15
Link copied to clipboard
operator fun component15(): Float
component2
Link copied to clipboard
operator fun component2(): Boolean
component3
Link copied to clipboard
operator fun component3(): Boolean
component4
Link copied to clipboard
operator fun component4(): Boolean
component5
Link copied to clipboard
operator fun component5(): Boolean
component6
Link copied to clipboard
operator fun component6(): Boolean
component7
Link copied to clipboard
operator fun component7(): ScreenCoordinate?
component8
Link copied to clipboard
operator fun component8(): Boolean
component9
Link copied to clipboard
operator fun component9(): Boolean
copy
Link copied to clipboard
fun copy(rotateEnabled: Boolean, zoomEnabled: Boolean, scrollEnabled: Boolean, pitchEnabled: Boolean, doubleTapToZoomEnabled: Boolean, quickZoomEnabled: Boolean, focalPoint: ScreenCoordinate?, scaleVelocityAnimationEnabled: Boolean, rotateVelocityAnimationEnabled: Boolean, flingVelocityAnimationEnabled: Boolean, increaseRotateThresholdWhenScaling: Boolean, disableRotateWhenScaling: Boolean, increaseScaleThresholdWhenRotating: Boolean, zoomRate: Float, pixelRatio: Float): GesturesSettings
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

disableRotateWhenScaling
Link copied to clipboard

Whether rotate is disabled when scaling. true by default.

var disableRotateWhenScaling: Boolean
doubleTapToZoomEnabled
Link copied to clipboard

Whether double tapping the map results in a zoom gesture.

var doubleTapToZoomEnabled: Boolean
flingVelocityAnimationEnabled
Link copied to clipboard

Whether fling velocity animations are enabled, true by default.

var flingVelocityAnimationEnabled: Boolean
focalPoint
Link copied to clipboard

Whether a gesture executes around a fixed focal point or the center of the gesture.

var focalPoint: ScreenCoordinate?
increaseRotateThresholdWhenScaling
Link copied to clipboard

Whether rotate threshold increases when scaling. true by default.

var increaseRotateThresholdWhenScaling: Boolean
increaseScaleThresholdWhenRotating
Link copied to clipboard

Whether scale threshold increases when rotating. true by default.

var increaseScaleThresholdWhenRotating: Boolean
pitchEnabled
Link copied to clipboard

Whether pitch gestures are enabled.

var pitchEnabled: Boolean
pixelRatio
Link copied to clipboard

The pixel ratio of the device that the gestures will take in account.

var pixelRatio: Float
quickZoomEnabled
Link copied to clipboard

Whether quick zoom gesture is enabled.

var quickZoomEnabled: Boolean
rotateEnabled
Link copied to clipboard

Whether rotation gestures are enabled.

var rotateEnabled: Boolean
rotateVelocityAnimationEnabled
Link copied to clipboard

Whether rotate velocity animations are enabled, true by default.

var rotateVelocityAnimationEnabled: Boolean
scaleVelocityAnimationEnabled
Link copied to clipboard

Whether scale velocity animations are enabled, true by default.

var scaleVelocityAnimationEnabled: Boolean
scrollEnabled
Link copied to clipboard

Whether scroll gestures are enabled.

var scrollEnabled: Boolean
zoomEnabled
Link copied to clipboard

Whether zoom gestures are enabled.

var zoomEnabled: Boolean
zoomRate
Link copied to clipboard

The rate at which the zoom level increases. 1.0 by default

var zoomRate: Float