SpeedThreshold

public struct SpeedThreshold

Defines a zoom level triggered when the vehicle reaches a specific speed.

  • Speed that activates the threshold.

    Declaration

    Swift

    public var speedInMetersPerSecond: Double
  • Zoom level applied once the threshold is reached.

    Declaration

    Swift

    public var zoomLevel: Double
  • 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, zoomLevel: Double = 16.5)