MapProperties

data class MapProperties(val isMyLocationEnabled: Boolean = false, val isTrafficEnabled: Boolean = true, val isBuildingEnabled: Boolean = true, val mapType: MapType = MapType.NORMAL, val mapTheme: MapTheme = MapTheme.SYSTEM, val contentPadding: MapContentPadding? = null, val androidMapProperties: AndroidMapProperties = AndroidMapProperties(), val iosMapProperties: IosMapProperties = IosMapProperties(), val webMapProperties: WebMapProperties = WebMapProperties())

Configuration properties for map behavior and appearance.

Constructors

Link copied to clipboard
constructor(isMyLocationEnabled: Boolean = false, isTrafficEnabled: Boolean = true, isBuildingEnabled: Boolean = true, mapType: MapType = MapType.NORMAL, mapTheme: MapTheme = MapTheme.SYSTEM, contentPadding: MapContentPadding? = null, androidMapProperties: AndroidMapProperties = AndroidMapProperties(), iosMapProperties: IosMapProperties = IosMapProperties(), webMapProperties: WebMapProperties = WebMapProperties())

Properties

Link copied to clipboard

Android-specific map behavior and appearance configuration options

Link copied to clipboard

Padding applied to map content (top, bottom, start, end). Does not apply to JVM

Link copied to clipboard

iOS-specific map behavior and appearance configuration options

Link copied to clipboard

Whether to show 3D buildings on the map

Link copied to clipboard

Whether to show the user's current location on the map

Link copied to clipboard

Whether to display traffic information on the map

Link copied to clipboard

The theme for the map appearance

Link copied to clipboard

The type of map to display

Link copied to clipboard

Desktop-specific map behavior and appearance configuration options