MapFeatureModes (API Reference)
Class MapFeatureModes
Holds constants for map feature modes, to be used with MapScene.enableFeatures(java.util.Map<java.lang.String, java.lang.String>).
Use DEFAULT 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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAmbient occlusion effect is shown for extruded buildings and landmarks.static final StringAll building footprints are shown.static final StringAll congestion zones are shown.static final StringEnables the default mode of a map feature.static final StringAll environmental zones are shown.static final StringAll extruded buildings are shown.static final StringAll low speed zones are shown.static final StringRoad exit labels are shown with numbers and names, if available.static final StringRoad exit labels are shown with numbers, if available.static final StringShadows are shown for extruded buildings and landmarks.static final StringOnly available when Japan map is used.static final StringTraffic flow shows green lines when there is no traffic congestion.static final StringTraffic flow does not show green lines when there is no traffic congestion.static final StringAll available traffic incidents are shown.static final StringAll available traffic lights are shown. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT
Enables the default mode of a map feature. Can be used with any map feature.
- See Also:
-
BUILDING_FOOTPRINTS_ALL
All building footprints are shown.
- See Also:
-
CONGESTION_ZONES_ALL
All congestion zones are shown.
- See Also:
-
EXTRUDED_BUILDINGS_ALL
All extruded buildings are shown.
- See Also:
-
ENVIRONMENTAL_ZONES_ALL
All environmental zones are shown.
- See Also:
-
LOW_SPEED_ZONES_ALL
All low speed zones are shown.
- See Also:
-
TRAFFIC_FLOW_JAPAN_WITHOUT_FREE_FLOW
Only available when Japan map is used.
Traffic flow shows green lines depending on the region.
In Japan green lines will not be shown, as if the
TRAFFIC_FLOW_WITHOUT_FREE_FLOWwere used.In rest of the world, green lines will be shown, as if the
TRAFFIC_FLOW_WITH_FREE_FLOWwere used.- See Also:
-
TRAFFIC_FLOW_WITH_FREE_FLOW
Traffic flow shows green lines when there is no traffic congestion.
- See Also:
-
TRAFFIC_FLOW_WITHOUT_FREE_FLOW
Traffic flow does not show green lines when there is no traffic congestion.
- See Also:
-
TRAFFIC_INCIDENTS_ALL
All available traffic incidents are shown.
- See Also:
-
TRAFFIC_LIGHTS_ALL
All available traffic lights are shown.
- See Also:
-
ROAD_EXIT_LABELS_NUMBERS_ONLY
Road exit labels are shown with numbers, if available.
- See Also:
-
ROAD_EXIT_LABELS_ALL
Road exit labels are shown with numbers and names, if available.
- See Also:
-
SHADOWS_ALL
Shadows are shown for extruded buildings and landmarks.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
- See Also:
-
AMBIENT_OCCLUSION_ALL
Ambient occlusion effect is shown for extruded buildings and landmarks.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
- See Also:
-
-
Constructor Details
-
MapFeatureModes
public MapFeatureModes()
-