FollowingCameraOptions
public struct FollowingCameraOptions
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.Declaration
Swift
public var defaultPitch: Double -
Minimum zoom, which will be used when producing camera frame in
NavigationCameraState.followingstate.Defaults to
10.50.Declaration
Swift
public var minimumZoomLevel: Double -
Maximum zoom, which will be used when producing camera frame in
NavigationCameraState.followingstate. It will be also used as initial value when active guidance navigation starts.Defaults to
16.35.Declaration
Swift
public var maximumZoomLevel: Double -
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
Install in Dash
FollowingCameraOptions Structure Reference