MapUiSettings
class MapUiSettings(val compassEnabled: Boolean = true, val indoorLevelPickerEnabled: Boolean = true, val mapToolbarEnabled: Boolean = true, val myLocationButtonEnabled: Boolean = true, val rotationGesturesEnabled: Boolean = true, val scrollGesturesEnabled: Boolean = true, val scrollGesturesEnabledDuringRotateOrZoom: Boolean = true, val tiltGesturesEnabled: Boolean = true, val zoomControlsEnabled: Boolean = true, val zoomGesturesEnabled: Boolean = true)
Data class for UI-related settings on the map.
Note: This is intentionally a class and not a data class for binary compatibility on future changes. See: https://jakewharton.com/public-api-challenges-in-kotlin/
Constructors
Link copied to clipboard
constructor(compassEnabled: Boolean = true, indoorLevelPickerEnabled: Boolean = true, mapToolbarEnabled: Boolean = true, myLocationButtonEnabled: Boolean = true, rotationGesturesEnabled: Boolean = true, scrollGesturesEnabled: Boolean = true, scrollGesturesEnabledDuringRotateOrZoom: Boolean = true, tiltGesturesEnabled: Boolean = true, zoomControlsEnabled: Boolean = true, zoomGesturesEnabled: Boolean = true)
Properties
Functions
Link copied to clipboard
fun copy(compassEnabled: Boolean = this.compassEnabled, indoorLevelPickerEnabled: Boolean = this.indoorLevelPickerEnabled, mapToolbarEnabled: Boolean = this.mapToolbarEnabled, myLocationButtonEnabled: Boolean = this.myLocationButtonEnabled, rotationGesturesEnabled: Boolean = this.rotationGesturesEnabled, scrollGesturesEnabled: Boolean = this.scrollGesturesEnabled, scrollGesturesEnabledDuringRotateOrZoom: Boolean = this.scrollGesturesEnabledDuringRotateOrZoom, tiltGesturesEnabled: Boolean = this.tiltGesturesEnabled, zoomControlsEnabled: Boolean = this.zoomControlsEnabled, zoomGesturesEnabled: Boolean = this.zoomGesturesEnabled): MapUiSettings