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
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
lowSpeedZones → String
City areas designated as low speed zones. Only available when Japan map is used.
final
roadExitLabels → String
Show or hide road exit labels, if available.
final
shadows → String
Shadows for all building types (extruded buildings and landmarks).
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