MapFeatures
public struct MapFeatures
Holds constants for map features, to be used with
MapScene.enableFeatures(...) and MapScene.disableFeatures(...).
See MapFeatureModes for constants representing feature modes.
-
Simple 3D representation of buildings.
Supports only one mode:
MapFeatureModes.extrudedBuildingsAll.Not supported for
MapScheme.satellite,MapScheme.roadNetworkDay,MapScheme.roadNetworkNightand all hybrid schemes:MapScheme.hybridDayMapScheme.hybridNight,MapScheme.liteHybridDayMapScheme.liteHybridNight,MapScheme.logisticsHybridDayandMapScheme.logisticsHybridNight.Declaration
Swift
public static let extrudedBuildings: String -
The 2D footprint of buildings.
Supports only one mode:
MapFeatureModes.buildingFootprintsAll.Not supported for
MapScheme.satellite,MapScheme.roadNetworkDay,MapScheme.roadNetworkNightand all hybrid schemes:MapScheme.hybridDayMapScheme.hybridNight,MapScheme.liteHybridDayMapScheme.liteHybridNight,MapScheme.logisticsHybridDayandMapScheme.logisticsHybridNight.Declaration
Swift
public static let buildingFootprints: String -
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.trafficFlowJapanWithoutFreeFlow,MapFeatureModes.trafficFlowWithFreeFlow,MapFeatureModes.trafficFlowWithoutFreeFlow.
Default mode is
MapFeatureModes.trafficFlowWithFreeFlow.Not supported for
MapScheme.satellite,MapScheme.roadNetworkDayandMapScheme.roadNetworkNight. By default, this map feature is not enabled.Declaration
Swift
public static let trafficFlow: String -
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 flow 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.trafficIncidentsAll.Not supported for
MapScheme.satellite,MapScheme.roadNetworkDayandMapScheme.roadNetworkNight. By default, this map feature is not enabled.Declaration
Swift
public static let trafficIncidents: String -
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.environmentalZonesAll.Not supported for
MapScheme.satellite,MapScheme.roadNetworkDayandMapScheme.roadNetworkNight. By default, this map feature is not enabled.Declaration
Swift
public static let environmentalZones: String -
City areas designated as congestion zones (or congestion charge zones), which impose fees on entering such areas.
Supports only one mode:
MapFeatureModes.congestionZonesAll.Not supported for
MapScheme.satellite,MapScheme.roadNetworkDayandMapScheme.roadNetworkNight. By default, this map feature is not enabled.Declaration
Swift
public static let congestionZones: String -
City areas designated as low speed zones. Only available when Japan map is used.
Supports only one mode:
MapFeatureModes.lowSpeedZonesAll.Not supported for
MapScheme.satellite,MapScheme.roadNetworkDayandMapScheme.roadNetworkNight. By default, this map feature is not enabled.Declaration
Swift
public static let lowSpeedZones: String -
Show or hide road exit labels, if available.
Supported modes:
MapFeatureModes.roadExitLabelsNumbersOnly,MapFeatureModes.roadExitLabelsAllDefault mode is
MapFeatureModes.roadExitLabelsNumbersOnly.Not supported for
MapScheme.satellite,MapScheme.roadNetworkDayandMapScheme.roadNetworkNight.Declaration
Swift
public static let roadExitLabels: String -
Shadows for all building types (extruded buildings and landmarks).
Supports only one mode:
MapFeatureModes.shadowsAll.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.roadNetworkDay,MapScheme.roadNetworkNightand all hybrid schemes:MapScheme.hybridDayMapScheme.hybridNight,MapScheme.liteHybridDayMapScheme.liteHybridNight,MapScheme.logisticsHybridDayandMapScheme.logisticsHybridNight.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.
Declaration
Swift
public static let shadows: String -
Ambient occlusion effect for 3D geometries (extruded buildings and landmarks).
Supports only one mode:
MapFeatureModes.ambientOcclusionAll.This visual effect has a performance impact and should be considered only for devices with sufficient performance.
Not supported for
MapScheme.satellite,MapScheme.roadNetworkDay,MapScheme.roadNetworkNightand all hybrid schemes:MapScheme.hybridDayMapScheme.hybridNight,MapScheme.liteHybridDayMapScheme.liteHybridNight,MapScheme.logisticsHybridDayandMapScheme.logisticsHybridNight.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.
Declaration
Swift
public static let ambientOcclusion: String