MapProperties

class MapProperties(isBuildingEnabled: Boolean, isIndoorEnabled: Boolean, isMyLocationEnabled: Boolean, isTrafficEnabled: Boolean, latLngBoundsForCameraTarget: LatLngBounds?, mapStyleOptions: MapStyleOptions?, mapType: MapType, maxZoomPreference: Float, minZoomPreference: Float)

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

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

Functions

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

isBuildingEnabled
Link copied to clipboard
val isBuildingEnabled: Boolean = false
isIndoorEnabled
Link copied to clipboard
val isIndoorEnabled: Boolean = false
isMyLocationEnabled
Link copied to clipboard
val isMyLocationEnabled: Boolean = false
isTrafficEnabled
Link copied to clipboard
val isTrafficEnabled: Boolean = false
latLngBoundsForCameraTarget
Link copied to clipboard
val latLngBoundsForCameraTarget: LatLngBounds? = null
mapStyleOptions
Link copied to clipboard
val mapStyleOptions: MapStyleOptions? = null
mapType
Link copied to clipboard
val mapType: MapType
maxZoomPreference
Link copied to clipboard
val maxZoomPreference: Float = 21.0f
minZoomPreference
Link copied to clipboard
val minZoomPreference: Float = 3.0f