MapUISettings

data class MapUISettings(val compassEnabled: Boolean = false, val myLocationButtonEnabled: Boolean = false, val scaleBarEnabled: Boolean = true, val togglePitchEnabled: Boolean = true, val scrollEnabled: Boolean = true, val zoomEnabled: Boolean = true, val appleRotateGesturesEnabled: Boolean = true, val androidIndoorLevelPickerEnabled: Boolean = true, val androidMapToolbarEnabled: Boolean = true, val androidRotationGesturesEnabled: Boolean = true, val androidScrollGesturesEnabledDuringRotateOrZoom: Boolean = true, val androidTiltGesturesEnabled: Boolean = true, val androidZoomControlsEnabled: Boolean = true)

UI settings that control interactive elements and gestures on the map.

Parameters

compassEnabled

Whether to show the compass control

myLocationButtonEnabled

Whether to show the "My Location" button

scaleBarEnabled

Whether to show the scale bar

togglePitchEnabled

Whether pitch gestures are enabled

scrollEnabled

Whether scroll gestures are enabled

zoomEnabled

Whether zoom gestures are enabled

appleRotateGesturesEnabled

Whether rotation gestures are enabled (iOS only)

androidIndoorLevelPickerEnabled

Whether indoor level picker is enabled (Android only)

androidMapToolbarEnabled

Whether the map toolbar is enabled (Android only)

androidRotationGesturesEnabled

Whether rotation gestures are enabled (Android only)

androidScrollGesturesEnabledDuringRotateOrZoom

Whether scroll gestures work during rotate/zoom (Android only)

androidTiltGesturesEnabled

Whether tilt gestures are enabled (Android only)

androidZoomControlsEnabled

Whether zoom controls are enabled (Android only)

Constructors

Link copied to clipboard
constructor(compassEnabled: Boolean = false, myLocationButtonEnabled: Boolean = false, scaleBarEnabled: Boolean = true, togglePitchEnabled: Boolean = true, scrollEnabled: Boolean = true, zoomEnabled: Boolean = true, appleRotateGesturesEnabled: Boolean = true, androidIndoorLevelPickerEnabled: Boolean = true, androidMapToolbarEnabled: Boolean = true, androidRotationGesturesEnabled: Boolean = true, androidScrollGesturesEnabledDuringRotateOrZoom: Boolean = true, androidTiltGesturesEnabled: Boolean = true, androidZoomControlsEnabled: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val compassEnabled: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val zoomEnabled: Boolean = true