GestureOptions

@Immutable
actual data class GestureOptions(source)

Parameters

isRotateEnabled

Set whether the user may rotate the map by moving two fingers in a circular motion.

isScrollEnabled

Set whether the user may scroll the map by dragging or swiping with one finger.

isTiltEnabled

Set whether the user may tilt the map by vertically dragging two fingers.

isZoomEnabled

Set whether the user may zoom the map in and out by pinching two fingers.

isDoubleTapEnabled

Set whether the user may zoom the map in by double tapping.

isQuickZoomEnabled

Set whether the user may zoom the map in and out by double tapping, holding, and moving the finger up and down.

@Immutable
expect class GestureOptions(source)

Configures platform-specific map interaction gesture options.

The companion object provides some presets available from common code, but fine-grained customization on multiple platforms requires configuring these options in expect/actual code.

@Immutable
actual data class GestureOptions(source)
@Immutable
actual data class GestureOptions(source)

Parameters

isRotateEnabled

Set whether the user may rotate the map by moving two fingers in a circular motion.

isScrollEnabled

Set whether the user may scroll the map by dragging or swiping with one finger.

isTiltEnabled

Set whether the user may tilt the map by vertically dragging two fingers.

isZoomEnabled

Set whether the user may zoom the map in and out by pinching two fingers or by double tapping, holding, and moving the finger up and down.

isHapticFeedbackEnabled

Set whether the user receives haptic feedback when rotating the map to due north.

@Immutable
actual data class GestureOptions(source)

Constructors

Link copied to clipboard
constructor(isRotateEnabled: Boolean = true, isScrollEnabled: Boolean = true, isTiltEnabled: Boolean = true, isZoomEnabled: Boolean = true, isDoubleTapEnabled: Boolean = true, isQuickZoomEnabled: Boolean = true)
constructor(isDragPanEnabled: Boolean = true, isDragRotateTiltEnabled: Boolean = true, isScrollZoomEnabled: Boolean = true, isDoubleClickZoomEnabled: Boolean = true, isKeyboardPanEnabled: Boolean = true, isKeyboardZoomEnabled: Boolean = true)
constructor(isRotateEnabled: Boolean = true, isScrollEnabled: Boolean = true, isTiltEnabled: Boolean = true, isZoomEnabled: Boolean = true, isHapticFeedbackEnabled: Boolean = true)
constructor(isTouchPitchEnabled: Boolean = true, isDragRotateEnabled: Boolean = true, isDragPanEnabled: Boolean = true, isDoubleClickZoomEnabled: Boolean = true, isScrollZoomEnabled: Boolean = true, touchZoomRotateMode: GestureOptions.ZoomRotateMode = ZoomRotateMode.RotateAndZoom, keyboardZoomRotateMode: GestureOptions.ZoomRotateMode = ZoomRotateMode.RotateAndZoom)

Types

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion
actual object Companion
actual object Companion
Link copied to clipboard

Properties

isDoubleClickZoomEnabled
Link copied to clipboard
Link copied to clipboard
isDragPanEnabled
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
isRotateEnabled
Link copied to clipboard
isScrollEnabled
Link copied to clipboard
isScrollZoomEnabled
Link copied to clipboard
isTiltEnabled
Link copied to clipboard
Link copied to clipboard
isZoomEnabled
Link copied to clipboard