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 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 StringCity areas designated as low speed zones.static final StringShow or hide road exit labels, if available.static final StringShadows for all building types (extruded buildings and landmarks).static final StringTraffic flow speed.static final StringTraffic incidents.static final StringTraffic lights. -
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:
-
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:
-
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:
-
-
Constructor Details
-
MapFeatures
public MapFeatures()
-