Class MapFeatureModes

java.lang.Object
com.here.sdk.mapview.MapFeatureModes

public final class MapFeatureModes extends Object

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 Details

    • DEFAULT

      public static final String DEFAULT

      Enables the default mode of a map feature. Can be used with any map feature.

      See Also:
    • BUILDING_FOOTPRINTS_ALL

      public static final String BUILDING_FOOTPRINTS_ALL

      All building footprints are shown.

      See Also:
    • CONGESTION_ZONES_ALL

      public static final String CONGESTION_ZONES_ALL

      All congestion zones are shown.

      See Also:
    • EXTRUDED_BUILDINGS_ALL

      public static final String EXTRUDED_BUILDINGS_ALL

      All extruded buildings are shown.

      See Also:
    • ENVIRONMENTAL_ZONES_ALL

      public static final String ENVIRONMENTAL_ZONES_ALL

      All environmental zones are shown.

      See Also:
    • LOW_SPEED_ZONES_ALL

      public static final String LOW_SPEED_ZONES_ALL

      All low speed zones are shown.

      See Also:
    • TRAFFIC_FLOW_JAPAN_WITHOUT_FREE_FLOW

      public static final String 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_FLOW were used.

      In rest of the world, green lines will be shown, as if the TRAFFIC_FLOW_WITH_FREE_FLOW were used.

      See Also:
    • TRAFFIC_FLOW_WITH_FREE_FLOW

      public static final String TRAFFIC_FLOW_WITH_FREE_FLOW

      Traffic flow shows green lines when there is no traffic congestion.

      See Also:
    • TRAFFIC_FLOW_WITHOUT_FREE_FLOW

      public static final String TRAFFIC_FLOW_WITHOUT_FREE_FLOW

      Traffic flow does not show green lines when there is no traffic congestion.

      See Also:
    • TRAFFIC_INCIDENTS_ALL

      public static final String TRAFFIC_INCIDENTS_ALL

      All available traffic incidents are shown.

      See Also:
    • TRAFFIC_LIGHTS_ALL

      public static final String TRAFFIC_LIGHTS_ALL

      All available traffic lights are shown.

      See Also:
    • LANDMARKS_TEXTURED

      public static final String LANDMARKS_TEXTURED

      3D landmarks are textured.

      See Also:
    • LANDMARKS_GRAYSCALE

      public static final String LANDMARKS_GRAYSCALE

      3D landmarks are textured with grayscale filter.

      See Also:
    • LANDMARKS_TEXTURELESS

      public static final String LANDMARKS_TEXTURELESS

      3D landmarks have solid color.

      See Also:
    • VEHICLE_RESTRICTIONS_ACTIVE_AND_INACTIVE

      public static final String VEHICLE_RESTRICTIONS_ACTIVE_AND_INACTIVE

      Both active and inactive time-based restrictions are shown.

      See Also:
    • VEHICLE_RESTRICTIONS_ACTIVE_AND_INACTIVE_DIFFERENTIATED

      public static final String 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

      public static final String VEHICLE_RESTRICTIONS_ACTIVE

      Inactive time-based restrictions are not shown.

      See Also:
    • SAFETY_CAMERAS_ALL

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String ROAD_EXIT_LABELS_NUMBERS_ONLY

      Road exit labels are shown with numbers, if available.

      See Also:
    • ROAD_EXIT_LABELS_ALL

      public static final String ROAD_EXIT_LABELS_ALL

      Road exit labels are shown with numbers and names, if available.

      See Also:
    • SHADOWS_ALL

      public static final String 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

      public static final String 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

      public static final String CONTOURS_ALL

      Contour lines indicating representing elevation changes are shown.

      See Also:
    • TRUCK_PREFERRED_ROADS_ALL

      public static final String TRUCK_PREFERRED_ROADS_ALL

      Display truck preferred roads

      See Also:
  • Constructor Details

    • MapFeatureModes

      public MapFeatureModes()