MapUiSettings

class MapUiSettings(compassEnabled: Boolean, indoorLevelPickerEnabled: Boolean, mapToolbarEnabled: Boolean, myLocationButtonEnabled: Boolean, rotationGesturesEnabled: Boolean, scrollGesturesEnabled: Boolean, scrollGesturesEnabledDuringRotateOrZoom: Boolean, tiltGesturesEnabled: Boolean, zoomControlsEnabled: Boolean, zoomGesturesEnabled: Boolean)

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

MapUiSettings
Link copied to clipboard
fun MapUiSettings(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)

Functions

copy
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
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

compassEnabled
Link copied to clipboard
val compassEnabled: Boolean = true
indoorLevelPickerEnabled
Link copied to clipboard
val indoorLevelPickerEnabled: Boolean = true
mapToolbarEnabled
Link copied to clipboard
val mapToolbarEnabled: Boolean = true
myLocationButtonEnabled
Link copied to clipboard
val myLocationButtonEnabled: Boolean = true
rotationGesturesEnabled
Link copied to clipboard
val rotationGesturesEnabled: Boolean = true
scrollGesturesEnabled
Link copied to clipboard
val scrollGesturesEnabled: Boolean = true
scrollGesturesEnabledDuringRotateOrZoom
Link copied to clipboard
val scrollGesturesEnabledDuringRotateOrZoom: Boolean = true
tiltGesturesEnabled
Link copied to clipboard
val tiltGesturesEnabled: Boolean = true
zoomControlsEnabled
Link copied to clipboard
val zoomControlsEnabled: Boolean = true
zoomGesturesEnabled
Link copied to clipboard
val zoomGesturesEnabled: Boolean = true