SpeedThreshold
public struct SpeedThreshold
Defines a zoom level triggered when the vehicle reaches a specific speed.
-
Speed that activates the threshold. Defaults to 0.0.
Declaration
Swift
public var speedInMetersPerSecond: Double -
Zoom applied once the threshold is reached. Defaults to a
MapMeasurewith kindMapMeasure.Kind.zoomLeveland value 16.5.Declaration
Swift
public var zoom: MapMeasure -
Creates a new instance.
Note: This is a beta feature; there maybe bugs and unexpected behavior. Related API’s are subject to change without a deprecation process.
Declaration
Swift
public init(speedInMetersPerSecond: Double = 0.0, zoom: MapMeasure = MapMeasure(kind: MapMeasure.Kind.zoomLevel, value: 16.5))