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 appleShowPOI: Boolean = true, val applePointsOfInterest: AppleMapsPointOfInterestCategories? = null, val applePolylineTapThreshold: 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

appleShowPOI

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

applePointsOfInterest

POI categories to include/exclude (iOS only)

applePolylineTapThreshold

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, appleShowPOI: Boolean = true, applePointsOfInterest: AppleMapsPointOfInterestCategories? = null, applePolylineTapThreshold: 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 appleShowPOI: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard