MapFeatures class

Holds constants for map features, to be used with MapScene.enableFeatures and MapScene.disableFeatures.

See MapFeatureModes for constants representing feature modes.

Note: On Android devices using PowerVR Rogue GPUs, Adreno 730-740 GPUs, or ARM Mali GPU drivers version 32-38, map rendering automatically adjusts or disables certain features to improve stability. Enabling affected features may increase memory usage and lead to application freezes or map view instability. See the notes per map feature.

On impacted GPUs, roads in MapScheme.hybridDay, MapScheme.hybridNight, MapScheme.liteHybridDay, MapScheme.liteHybridNight, MapScheme.logisticsHybridDay and MapScheme.logisticsHybridNight may appear darkened at road junctions due to overlapping rendering.

Constructors

MapFeatures()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

ambientOcclusion → String
Ambient occlusion effect for 3D geometries (extruded buildings and landmarks).
final
buildingFootprints → String
The 2D footprint of buildings.
final
congestionZones → String
City areas designated as congestion zones (or congestion charge zones), which impose fees on entering such areas.
final
contours → String
Show or hide contour lines on the map to represent elevation changes.
final
environmentalZones → String
City areas designated as environmental zones, which empose limitations on the type of vehicles that are allowed to enter such areas.
final
extrudedBuildings → String
Simple 3D representation of buildings.
final
landmarks → String
Displays 3D landmarks on the map.
final
lowSpeedZones → String
City areas designated as low speed zones. Only available when Japan map is used.
final
publicTransit → String
Toggles the display of public transit lines for systems like subway, tram, train, monorail, and ferry, based on the selected mode.
final
roadExitLabels → String
Show or hide road exit labels, if available.
final
safetyCameras → String
Safety and speed cameras.
final
shadows → String
Shadows for all building types (extruded buildings and landmarks).
final
terrain → String
Show elevation topography.
final
trafficFlow → String
Traffic flow speed. An online connection is required for the traffic flow to be shown.
final
trafficIncidents → String
Traffic incidents. An online connection is required for the traffic incidents to be shown.
final
trafficLights → String
Traffic lights.
final
truckPreferredRoads → String
Show or hide truck preferred road
final
vehicleRestrictions → String
Vehicle restrictions. Requires map version 25 as minimum. If old map data is stored on disk, it might require updating using MapUpdater.
final