MapProperties

class MapProperties(val isBuildingEnabled: Boolean = false, val isIndoorEnabled: Boolean = false, val isMyLocationEnabled: Boolean = false, val isTrafficEnabled: Boolean = false, val latLngBoundsForCameraTarget: LatLngBounds? = null, val mapStyleOptions: MapStyleOptions? = null, val mapType: MapType = MapType.NORMAL, val maxZoomPreference: Float = 21.0f, val minZoomPreference: Float = 3.0f)

Data class for properties that can be modified 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(isBuildingEnabled: Boolean = false, isIndoorEnabled: Boolean = false, isMyLocationEnabled: Boolean = false, isTrafficEnabled: Boolean = false, latLngBoundsForCameraTarget: LatLngBounds? = null, mapStyleOptions: MapStyleOptions? = null, mapType: MapType = MapType.NORMAL, maxZoomPreference: Float = 21.0f, minZoomPreference: Float = 3.0f)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val latLngBoundsForCameraTarget: LatLngBounds? = null
Link copied to clipboard
val mapStyleOptions: MapStyleOptions? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(isBuildingEnabled: Boolean = this.isBuildingEnabled, isIndoorEnabled: Boolean = this.isIndoorEnabled, isMyLocationEnabled: Boolean = this.isMyLocationEnabled, isTrafficEnabled: Boolean = this.isTrafficEnabled, latLngBoundsForCameraTarget: LatLngBounds? = this.latLngBoundsForCameraTarget, mapStyleOptions: MapStyleOptions? = this.mapStyleOptions, mapType: MapType = this.mapType, maxZoomPreference: Float = this.maxZoomPreference, minZoomPreference: Float = this.minZoomPreference): MapProperties
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String