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
CameraOptionsduring active guidance navigation.Defaults to
45.0degrees.Invariant
Acceptable range of values is0...85.Declaration
Swift
public var defaultPitch: Double { get set } -
Zoom levels range, which will be used when producing camera frame in
NavigationCameraState.followingstate.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 to16.35.Invariant
Acceptable range of values is0...22.Declaration
Swift
public var zoomRange: ClosedRange<Double> { get set }
-
If
true,NavigationViewportDataSourcewill continuously modifyCameraOptions.centerproperty when producing camera frame inNavigationCameraState.followingstate.If
false,NavigationViewportDataSourcewill not modifyCameraOptions.centerproperty.Defaults to
true.Declaration
Swift
public var centerUpdatesAllowed: Bool -
If
true,NavigationViewportDataSourcewill continuously modifyCameraOptions.zoomproperty when producing camera frame inNavigationCameraState.followingstate.If
false,NavigationViewportDataSourcewill not modifyCameraOptions.zoomproperty.Defaults to
true.Declaration
Swift
public var zoomUpdatesAllowed: Bool -
If
true,NavigationViewportDataSourcewill continuously modifyCameraOptions.bearingproperty when producing camera frame inNavigationCameraState.followingstate.If
false,NavigationViewportDataSourcewill not modifyCameraOptions.bearingproperty.Defaults to
true.Declaration
Swift
public var bearingUpdatesAllowed: Bool -
If
true,NavigationViewportDataSourcewill continuously modifyCameraOptions.pitchproperty when producing camera frame inNavigationCameraState.followingstate.If
false,NavigationViewportDataSourcewill not modifyCameraOptions.pitchproperty.Defaults to
true.Declaration
Swift
public var pitchUpdatesAllowed: Bool -
If
true,NavigationViewportDataSourcewill continuously modifyCameraOptions.paddingproperty when producing camera frame inNavigationCameraState.followingstate.If
false,NavigationViewportDataSourcewill not modifyCameraOptions.paddingproperty.Defaults to
true.Declaration
Swift
public var paddingUpdatesAllowed: Bool
-
Options, which allow to modify the framed route geometries based on the intersection density.
By default the whole remainder of the step is framed, while
IntersectionDensityoptions shrink that geometry to increase the zoom level.Declaration
Swift
public var intersectionDensity: IntersectionDensity -
Options, which allow to modify
CameraOptions.bearingproperty based on information about bearing of an upcoming maneuver.Declaration
Swift
public var bearingSmoothing: BearingSmoothing -
Options, which allow to modify framed route geometries by appending additional coordinates after maneuver to extend the view.
Declaration
Swift
public var geometryFramingAfterManeuver: GeometryFramingAfterManeuver -
Options, which allow to modify the framed route geometries when approaching a maneuver.
Declaration
Swift
public var pitchNearManeuver: PitchNearManeuver -
Initializes
FollowingCameraOptionsinstance.Declaration
Swift
public init() -
Declaration
Swift
public static func == (lhs: FollowingCameraOptions, rhs: FollowingCameraOptions) -> Bool
Install in Dash
FollowingCameraOptions Structure Reference