GestureOptions

constructor(isRotateEnabled: Boolean = true, isScrollEnabled: Boolean = true, isTiltEnabled: Boolean = true, isZoomEnabled: Boolean = true, isDoubleTapEnabled: Boolean = true, isQuickZoomEnabled: Boolean = true)(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.

constructor(isDragPanEnabled: Boolean = true, isDragRotateTiltEnabled: Boolean = true, isScrollZoomEnabled: Boolean = true, isDoubleClickZoomEnabled: Boolean = true, isKeyboardPanEnabled: Boolean = true, isKeyboardZoomEnabled: Boolean = true)(source)
constructor(isRotateEnabled: Boolean = true, isScrollEnabled: Boolean = true, isTiltEnabled: Boolean = true, isZoomEnabled: Boolean = true, isHapticFeedbackEnabled: Boolean = true)(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.

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)(source)