FollowingCameraOptions

public struct FollowingCameraOptions : Equatable

Options, which are used to control what CameraOptions parameters will be modified by NavigationViewportDataSource in NavigationCameraState.following state.

  • Pitch, which will be taken into account when preparing CameraOptions during active guidance navigation.

    Defaults to 45.0 degrees.

    Invariant

    Acceptable range of values is 0...85.

    Declaration

    Swift

    public var defaultPitch: Double { get set }
  • Zoom levels range, which will be used when producing camera frame in NavigationCameraState.following state.

    Upper bound of the range will be also used as initial zoom level when active guidance navigation starts.

    Lower bound defaults to 10.50, upper bound defaults to 16.35.

    Invariant

    Acceptable range of values is 0...22.

    Declaration

    Swift

    public var zoomRange: ClosedRange<Double> { get set }