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 StringContour lines indicating representing elevation changes 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 String3D landmarks are textured with grayscale filter.static final String3D landmarks are textured.static final String3D landmarks have solid color.static final StringAll low speed zones are shown.static final StringLine geometry for all available public transit systems is shown; including subway, tram, train, monorail, ferry and more.static final StringLine geometry for selected public transit systems is shown: subway lines in Japan.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 StringAll types of safety cameras are shown.static final StringShadows are shown for extruded buildings and landmarks.static final StringTopography-shading is shown on 3d terrain.static final StringTopography-shading is shown.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.static final StringDisplay truck preferred roadsstatic final StringInactive time-based restrictions are not shown.static final StringBoth active and inactive time-based restrictions are shown.static final StringBoth active and inactive restrictions are shown, but inactive time-based restrictions are shown as faded. -
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:
-
LANDMARKS_TEXTURED
3D landmarks are textured.
- See Also:
-
LANDMARKS_GRAYSCALE
3D landmarks are textured with grayscale filter.
- See Also:
-
LANDMARKS_TEXTURELESS
3D landmarks have solid color.
- See Also:
-
VEHICLE_RESTRICTIONS_ACTIVE_AND_INACTIVE
Both active and inactive time-based restrictions are shown.
- See Also:
-
VEHICLE_RESTRICTIONS_ACTIVE_AND_INACTIVE_DIFFERENTIATED
Both active and inactive restrictions are shown, but inactive time-based restrictions are shown as faded.
- See Also:
-
VEHICLE_RESTRICTIONS_ACTIVE
Inactive time-based restrictions are not shown.
- See Also:
-
SAFETY_CAMERAS_ALL
All types of safety cameras are shown. Includes speed, red light, red light + speed, bus lane, distance and speed section cameras.
- See Also:
-
TERRAIN_HILLSHADE
Topography-shading is shown.
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:
-
TERRAIN_3D
Topography-shading is shown on 3d terrain.
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:
-
PUBLIC_TRANSIT_ALL
Line geometry for all available public transit systems is shown; including subway, tram, train, monorail, ferry and more.
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:
-
PUBLIC_TRANSIT_ASIA
Line geometry for selected public transit systems is shown: subway lines in Japan. Only available when Japan map is used.
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:
-
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:
-
CONTOURS_ALL
Contour lines indicating representing elevation changes are shown.
- See Also:
-
TRUCK_PREFERRED_ROADS_ALL
Display truck preferred roads
- See Also:
-
-
Constructor Details
-
MapFeatureModes
public MapFeatureModes()
-