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
contoursAll → String
Contour lines indicating representing elevation changes 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
landmarksGrayscale → String
3D landmarks are textured with grayscale filter.
final
landmarksTextured → String
3D landmarks are textured.
final
landmarksTextureless → String
3D landmarks have solid color.
final
lowSpeedZonesAll → String
All low speed zones are shown.
final
publicTransitAll → String
Line geometry for all available public transit systems is shown; including subway, tram, train, monorail, ferry and more.
final
publicTransitAsia → String
Line geometry for selected public transit systems is shown: subway lines in Japan. Only available when Japan map is used.
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
safetyCamerasAll → String
All types of safety cameras are shown. Includes speed, red light, red light + speed, bus lane, distance and speed section cameras.
final
shadowsAll → String
Shadows are shown for extruded buildings and landmarks.
final
terrain3d → String
Topography-shading is shown on 3d terrain.
final
terrainHillshade → String
Topography-shading is shown.
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
truckPreferredRoadsAll → String
Display truck preferred roads
final
vehicleRestrictionsActive → String
Inactive time-based restrictions are not shown.
final
vehicleRestrictionsActiveAndInactive → String
Both active and inactive time-based restrictions are shown.
final
vehicleRestrictionsActiveAndInactiveDifferentiated → String
Both active and inactive restrictions are shown, but inactive time-based restrictions are shown as faded.
final