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 iosShowPOI: Boolean = true, val iosPointsOfInterest: AppleMapsPointOfInterestCategories? = null, val iosPolylineTapThreshold: Float? = null, val androidIsIndoorEnabled: Boolean = true, val androidMaxZoomPreference: Float? = null, val androidMinZoomPreference: Float? = null, val androidMapStyleOptions: GoogleMapsMapStyleOptions? = null)

Configuration properties for map behavior and appearance.

Parameters

isMyLocationEnabled

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

isTrafficEnabled

Whether to display traffic information on the map

isBuildingEnabled

Whether to show 3D buildings on the map

mapType

The type of map to display

mapTheme

The theme for the map appearance

iosShowPOI

Whether to show points of interest (POIs) on the map (iOS only)

iosPointsOfInterest

POI categories to include/exclude (iOS only)

iosPolylineTapThreshold

Threshold for polyline tap detection (iOS only)

androidIsIndoorEnabled

Whether indoor maps are enabled (Android only)

androidMaxZoomPreference

Maximum zoom level preference (Android only)

androidMinZoomPreference

Minimum zoom level preference (Android only)

androidMapStyleOptions

Custom map styling options (Android only)

Constructors

Link copied to clipboard
constructor(isMyLocationEnabled: Boolean = false, isTrafficEnabled: Boolean = true, isBuildingEnabled: Boolean = true, mapType: MapType? = MapType.NORMAL, mapTheme: MapTheme = MapTheme.SYSTEM, iosShowPOI: Boolean = true, iosPointsOfInterest: AppleMapsPointOfInterestCategories? = null, iosPolylineTapThreshold: Float? = null, androidIsIndoorEnabled: Boolean = true, androidMaxZoomPreference: Float? = null, androidMinZoomPreference: Float? = null, androidMapStyleOptions: GoogleMapsMapStyleOptions? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val iosShowPOI: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard