SpeedBasedZoomPolicyOptions
public struct SpeedBasedZoomPolicyOptions
Configuration for computing zoom levels from speed thresholds defined per road classification.
-
Minimum time interval that must pass before the zoom level is allowed to switch to a new speed threshold.
Declaration
Swift
public var delayBetweenThresholdChanges: TimeInterval? -
Defines, per road classification, how the zoom level should change in response to different vehicle speeds.
Declaration
Swift
public var roadClassificationToSpeedThreshold: [RoadClassification : [TrackingCameraBehavior.SpeedThreshold]] -
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(delayBetweenThresholdChanges: TimeInterval? = nil, roadClassificationToSpeedThreshold: [RoadClassification : [TrackingCameraBehavior.SpeedThreshold]] = [:])