MapFeatures (API Reference)
Class MapFeatures
Holds constants for map features, to be used with
MapScene.enableFeatures(java.util.Map<java.lang.String, java.lang.String>) and MapScene.disableFeatures(java.util.List<java.lang.String>).
See MapFeatureModes for constants representing feature modes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAmbient occlusion effect for 3D geometries (extruded buildings and landmarks).static final StringThe 2D footprint of buildings.static final StringCity areas designated as congestion zones (or congestion charge zones), which impose fees on entering such areas.static final StringShow or hide contour lines on the map to represent elevation changes.static final StringCity areas designated as environmental zones, which empose limitations on the type of vehicles that are allowed to enter such areas.static final StringSimple 3D representation of buildings.static final StringDisplays 3D landmarks on the map.static final StringCity areas designated as low speed zones.static final StringToggles the display of public transit lines for systems like subway, tram, train, monorail, and ferry, based on the selected mode.static final StringShow or hide road exit labels, if available.static final StringSafety and speed cameras.static final StringShadows for all building types (extruded buildings and landmarks).static final StringShow elevation topography.static final StringTraffic flow speed.static final StringTraffic incidents.static final StringTraffic lights.static final StringShow or hide truck preferred roadstatic final StringVehicle restrictions. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EXTRUDED_BUILDINGS
Simple 3D representation of buildings.
Supports only one mode:
MapFeatureModes.EXTRUDED_BUILDINGS_ALL.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAY,MapScheme.ROAD_NETWORK_NIGHTand all hybrid schemes:MapScheme.HYBRID_DAYMapScheme.HYBRID_NIGHT,MapScheme.LITE_HYBRID_DAYMapScheme.LITE_HYBRID_NIGHT,MapScheme.LOGISTICS_HYBRID_DAYandMapScheme.LOGISTICS_HYBRID_NIGHT.By default, extruded buildings are enabled on all compatible map schemes.
- See Also:
-
BUILDING_FOOTPRINTS
The 2D footprint of buildings.
Supports only one mode:
MapFeatureModes.BUILDING_FOOTPRINTS_ALL.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAY,MapScheme.ROAD_NETWORK_NIGHTand all hybrid schemes:MapScheme.HYBRID_DAYMapScheme.HYBRID_NIGHT,MapScheme.LITE_HYBRID_DAYMapScheme.LITE_HYBRID_NIGHT,MapScheme.LOGISTICS_HYBRID_DAYandMapScheme.LOGISTICS_HYBRID_NIGHT.By default, building footprints are enabled on all compatible map schemes.
- See Also:
-
TRAFFIC_FLOW
Traffic flow speed. An online connection is required for the traffic flow to be shown.
If the offline-mode is enabled for offline maps usage, the live traffic flow can still be shown in offline mode by enabling pass-through feature for traffic flow on
sdk.core.engine.SDKNativeEngine. Seesdk.core.engine.SDKNativeEngine.pass_through_featuresfor details.Supported modes:
MapFeatureModes.TRAFFIC_FLOW_JAPAN_WITHOUT_FREE_FLOW,MapFeatureModes.TRAFFIC_FLOW_WITH_FREE_FLOW,MapFeatureModes.TRAFFIC_FLOW_WITHOUT_FREE_FLOW.
Default mode is
MapFeatureModes.TRAFFIC_FLOW_WITH_FREE_FLOW.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT. By default, this map feature is not enabled.- See Also:
-
TRAFFIC_INCIDENTS
Traffic incidents. An online connection is required for the traffic incidents to be shown.
If the offline-mode is enabled for offline maps usage, the live traffic incidents can still be shown in offline mode by enabling pass-through feature for traffic incidents on
sdk.core.engine.SDKNativeEngine. Seesdk.core.engine.SDKNativeEngine.pass_through_featuresfor details.Supports only one mode:
MapFeatureModes.TRAFFIC_INCIDENTS_ALL.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT. By default, this map feature is not enabled.- See Also:
-
TRAFFIC_LIGHTS
Traffic lights.
Supports only one mode:
MapFeatureModes.TRAFFIC_LIGHTS_ALLNot supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT.By default, traffic lights are enabled on all compatible map schemes.
- See Also:
-
VEHICLE_RESTRICTIONS
Vehicle restrictions. Requires map version 25 as minimum. If old map data is stored on disk, it might require updating using
MapUpdater.Supported modes:
MapFeatureModes.VEHICLE_RESTRICTIONS_ACTIVE,MapFeatureModes.VEHICLE_RESTRICTIONS_ACTIVE_AND_INACTIVEandMapFeatureModes.VEHICLE_RESTRICTIONS_ACTIVE_AND_INACTIVE_DIFFERENTIATED.Default mode when enabled is
MapFeatureModes.VEHICLE_RESTRICTIONS_ACTIVE_AND_INACTIVE.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT. By default, this map feature is not enabled.- See Also:
-
SAFETY_CAMERAS
Safety and speed cameras.
Supports only one mode:
MapFeatureModes.SAFETY_CAMERAS_ALL.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT. By default, this map feature is not enabled.- See Also:
-
LANDMARKS
Displays 3D landmarks on the map.
Please note: Enabling 3D landmarks with 3D terrain may result in instances where landmarks sink into or float above the terrain.
Supported modes:
MapFeatureModes.LANDMARKS_TEXTURED,MapFeatureModes.LANDMARKS_GRAYSCALEandMapFeatureModes.LANDMARKS_TEXTURELESS.Default mode is
MapFeatureModes.LANDMARKS_GRAYSCALE.By default, 3D landmarks are enabled on all compatible map schemes.
Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAY,MapScheme.ROAD_NETWORK_NIGHTand all hybrid schemes:MapScheme.HYBRID_DAYMapScheme.HYBRID_NIGHT,MapScheme.LITE_HYBRID_DAYMapScheme.LITE_HYBRID_NIGHT,MapScheme.LOGISTICS_HYBRID_DAYandMapScheme.LOGISTICS_HYBRID_NIGHT.- See Also:
-
ENVIRONMENTAL_ZONES
City areas designated as environmental zones, which empose limitations on the type of vehicles that are allowed to enter such areas.
Supports only one mode:
MapFeatureModes.ENVIRONMENTAL_ZONES_ALL.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT. By default, this map feature is not enabled.- See Also:
-
CONGESTION_ZONES
City areas designated as congestion zones (or congestion charge zones), which impose fees on entering such areas.
Supports only one mode:
MapFeatureModes.CONGESTION_ZONES_ALL.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT. By default, this map feature is not enabled.- See Also:
-
LOW_SPEED_ZONES
City areas designated as low speed zones. Only available when Japan map is used.
Supports only one mode:
MapFeatureModes.LOW_SPEED_ZONES_ALL.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT. By default, this map feature is not enabled.- See Also:
-
TERRAIN
Show elevation topography.
Supported modes:
MapFeatureModes.TERRAIN_HILLSHADE,MapFeatureModes.TERRAIN_3D.MapFeatureModes.TERRAIN_HILLSHADEis only supported for schemesMapScheme.NORMAL_DAY,MapScheme.NORMAL_NIGHT,MapScheme.LITE_DAY,MapScheme.LITE_NIGHT,MapScheme.LOGISTICS_DAYandMapScheme.LOGISTICS_NIGHT,MapScheme.TOPO_DAYandMapScheme.TOPO_NIGHT.Default mode is
MapFeatureModes.TERRAIN_HILLSHADEfor the supporting schemes.By default, terrain is disabled, except for
MapScheme.TOPO_DAYandMapScheme.TOPO_NIGHT.Note that this feature has performance implications, with extra data use and impact on frame rate. If performance is a concern, this feature can be disabled from the application side when loading the map scene.
Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT.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
Toggles the display of public transit lines for systems like subway, tram, train, monorail, and ferry, based on the selected mode.
Supported modes:
MapFeatureModes.PUBLIC_TRANSIT_ALL,MapFeatureModes.PUBLIC_TRANSIT_ASIA.MapFeatureModes.PUBLIC_TRANSIT_ASIAis supported only when credentials enabled for the enriched Japan map are used.Public transit is disabled by default for all map schemes when using Rest-of-World map data. When using enriched Japan map data, public transit is enabled by default with
MapFeatureModes.PUBLIC_TRANSIT_ASIAon normal, lite and topo schemes (including their hybrid variants) and disabled by default on logistics schemes.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT.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
Show or hide road exit labels, if available.
Supported modes:
MapFeatureModes.ROAD_EXIT_LABELS_NUMBERS_ONLY,MapFeatureModes.ROAD_EXIT_LABELS_ALLDefault mode is
MapFeatureModes.ROAD_EXIT_LABELS_NUMBERS_ONLY.Road exit labels are enabled by default with
MapFeatureModes.ROAD_EXIT_LABELS_NUMBERS_ONLYon normal, lite and topo schemes and withMapFeatureModes.ROAD_EXIT_LABELS_ALLon logistics schemes. Note that topo schemes are only available in the HERE SDK Navigate variant.Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT.- See Also:
-
SHADOWS
Shadows for all building types (extruded buildings and landmarks).
Supports only one mode:
MapFeatureModes.SHADOWS_ALL.A
ShadowQualitymust be set on the MapContext through a MapView or the feature has no effect.Shadows have a performance impact and should be considered only for devices with sufficient performance.
Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAY,MapScheme.ROAD_NETWORK_NIGHTand all hybrid schemes:MapScheme.HYBRID_DAYMapScheme.HYBRID_NIGHT,MapScheme.LITE_HYBRID_DAYMapScheme.LITE_HYBRID_NIGHT,MapScheme.LOGISTICS_HYBRID_DAYandMapScheme.LOGISTICS_HYBRID_NIGHT.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. By default, this map feature is not enabled.
- See Also:
-
AMBIENT_OCCLUSION
Ambient occlusion effect for 3D geometries (extruded buildings and landmarks).
Supports only one mode:
MapFeatureModes.AMBIENT_OCCLUSION_ALL.This visual effect has a performance impact and should be considered only for devices with sufficient performance.
Not supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAY,MapScheme.ROAD_NETWORK_NIGHTand all hybrid schemes:MapScheme.HYBRID_DAYMapScheme.HYBRID_NIGHT,MapScheme.LITE_HYBRID_DAYMapScheme.LITE_HYBRID_NIGHT,MapScheme.LOGISTICS_HYBRID_DAYandMapScheme.LOGISTICS_HYBRID_NIGHT.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. By default, this map feature is not enabled.
- See Also:
-
CONTOURS
Show or hide contour lines on the map to represent elevation changes.
Supports only one mode:
MapFeatureModes.CONTOURS_ALLNot supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAY,MapScheme.ROAD_NETWORK_NIGHTand all hybrid schemes:MapScheme.HYBRID_DAYMapScheme.HYBRID_NIGHT,MapScheme.LITE_HYBRID_DAYMapScheme.LITE_HYBRID_NIGHT,MapScheme.LOGISTICS_HYBRID_DAYandMapScheme.LOGISTICS_HYBRID_NIGHT.Contours are enabled by default on topo schemes and disabled by default on other schemes.
- See Also:
-
TRUCK_PREFERRED_ROADS
Show or hide truck preferred road
Supported modes:
MapFeatureModes.TRUCK_PREFERRED_ROADS_ALLNot supported for
MapScheme.SATELLITE,MapScheme.ROAD_NETWORK_DAYandMapScheme.ROAD_NETWORK_NIGHT. By default, this map feature is not enabled.- See Also:
-
-
Constructor Details
-
MapFeatures
public MapFeatures()
-