MapFeatureModes
public struct MapFeatureModes
Holds constants for map feature modes, to be used with MapScene.enableFeatures(...).
Use MapFeatureModes.defaultMode 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.
-
Enables the default mode of a map feature. Can be used with any map feature.
Declaration
Swift
public static let defaultMode: String -
All building footprints are shown.
Declaration
Swift
public static let buildingFootprintsAll: String -
All congestion zones are shown.
Declaration
Swift
public static let congestionZonesAll: String -
All extruded buildings are shown.
Declaration
Swift
public static let extrudedBuildingsAll: String -
All environmental zones are shown.
Declaration
Swift
public static let environmentalZonesAll: String -
All low speed zones are shown.
Declaration
Swift
public static let lowSpeedZonesAll: String -
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
MapFeatureModes.trafficFlowWithoutFreeFlowwere used.In rest of the world, green lines will be shown, as if the
MapFeatureModes.trafficFlowWithFreeFlowwere used.Declaration
Swift
public static let trafficFlowJapanWithoutFreeFlow: String -
Traffic flow shows green lines when there is no traffic congestion.
Declaration
Swift
public static let trafficFlowWithFreeFlow: String -
Traffic flow does not show green lines when there is no traffic congestion.
Declaration
Swift
public static let trafficFlowWithoutFreeFlow: String -
All available traffic incidents are shown.
Declaration
Swift
public static let trafficIncidentsAll: String -
All available traffic lights are shown.
Declaration
Swift
public static let trafficLightsAll: String -
Road exit labels are shown with numbers, if available.
Declaration
Swift
public static let roadExitLabelsNumbersOnly: String -
Road exit labels are shown with numbers and names, if available.
Declaration
Swift
public static let roadExitLabelsAll: String -
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.
Declaration
Swift
public static let shadowsAll: String -
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.
Declaration
Swift
public static let ambientOcclusionAll: String