Map Properties
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
is My Location Enabled
Whether to show the user's current location on the map
is Traffic Enabled
Whether to display traffic information on the map
is Building Enabled
Whether to show 3D buildings on the map
map Type
The type of map to display
map Theme
The theme for the map appearance
apple Show POI
Whether to show points of interest (POIs) on the map (iOS only)
apple Points Of Interest
POI categories to include/exclude (iOS only)
apple Polyline Tap Threshold
Threshold for polyline tap detection (iOS only)
android Is Indoor Enabled
Whether indoor maps are enabled (Android only)
android Max Zoom Preference
Maximum zoom level preference (Android only)
android Min Zoom Preference
Minimum zoom level preference (Android only)
android Map Style Options
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)