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 bearing property of CameraOptions during 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.0 degrees.

    Declaration

    Swift

    public var maximumBearingSmoothingAngle: CLLocationDirection
  • Initializes BearingSmoothing instance.

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public static func == (lhs: BearingSmoothing, rhs: BearingSmoothing) -> Bool