MapFeatureModes class

Holds constants for map feature modes, to be used with MapScene.enableFeatures.

Use MapFeatureModes.defaultMode to enable a feature with its default mode.

Note: The default mode is defined by the currently loaded map scene configuration and may vary per MapScheme. The currently active features and modes can be inspected using MapScene.getActiveFeatures after the scene is loaded.

See MapFeatures for constants representing the feature names.

Constructors

MapFeatureModes()

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

ambientOcclusionAll → String
Ambient occlusion effect is shown for extruded buildings and landmarks.
final
buildingFootprintsAll → String
All building footprints are shown.
final
congestionZonesAll → String
All congestion zones are shown.
final
defaultMode → String
Enables the default mode of a map feature. Can be used with any map feature.
final
environmentalZonesAll → String
All environmental zones are shown.
final
extrudedBuildingsAll → String
All extruded buildings are shown.
final
lowSpeedZonesAll → String
All low speed zones are shown.
final
roadExitLabelsAll → String
Road exit labels are shown with numbers and names, if available.
final
roadExitLabelsNumbersOnly → String
Road exit labels are shown with numbers, if available.
final
shadowsAll → String
Shadows are shown for extruded buildings and landmarks.
final
trafficFlowJapanWithoutFreeFlow → String
Only available when Japan map is used.
final
trafficFlowWithFreeFlow → String
Traffic flow shows green lines when there is no traffic congestion.
final
trafficFlowWithoutFreeFlow → String
Traffic flow does not show green lines when there is no traffic congestion.
final
trafficIncidentsAll → String
All available traffic incidents are shown.
final
trafficLightsAll → String
All available traffic lights are shown.
final