BearingSmoothing
public struct BearingSmoothing : Equatable
Options, which allow to modify CameraOptions.bearing property based on information about
bearing of an upcoming maneuver.
-
Controls whether bearing smoothing will be performed or not.
Defaults to
true.Declaration
Swift
public var enabled: Bool -
Controls how much the bearing can deviate from the location’s bearing, in degrees.
In case if set, the
bearingproperty ofCameraOptionsduring active guidance navigation won’t exactly reflect the bearing returned by the location, but will also be affected by the direction to the upcoming framed geometry, to maximize the viewable area.Defaults to
45.0degrees.Declaration
Swift
public var maximumBearingSmoothingAngle: CLLocationDirection -
Initializes
BearingSmoothinginstance.Declaration
Swift
public init() -
Declaration
Swift
public static func == (lhs: BearingSmoothing, rhs: BearingSmoothing) -> Bool
Install in Dash
BearingSmoothing Structure Reference