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
CameraOptions
during active guidance navigation.Defaults to
45.0
degrees.Declaration
Swift
public var defaultPitch: Double
-
Minimum zoom, which will be used when producing camera frame in
NavigationCameraState.following
state.Defaults to
10.50
.Declaration
Swift
public var minimumZoomLevel: Double
-
Maximum zoom, which will be used when producing camera frame in
NavigationCameraState.following
state. 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
,NavigationViewportDataSource
will continuously modifyCameraOptions.center
property when producing camera frame inNavigationCameraState.following
state.If
false
,NavigationViewportDataSource
will not modifyCameraOptions.center
property.Defaults to
true
.Declaration
Swift
public var centerUpdatesAllowed: Bool
-
If
true
,NavigationViewportDataSource
will continuously modifyCameraOptions.zoom
property when producing camera frame inNavigationCameraState.following
state.If
false
,NavigationViewportDataSource
will not modifyCameraOptions.zoom
property.Defaults to
true
.Declaration
Swift
public var zoomUpdatesAllowed: Bool
-
If
true
,NavigationViewportDataSource
will continuously modifyCameraOptions.bearing
property when producing camera frame inNavigationCameraState.following
state.If
false
,NavigationViewportDataSource
will not modifyCameraOptions.bearing
property.Defaults to
true
.Declaration
Swift
public var bearingUpdatesAllowed: Bool
-
If
true
,NavigationViewportDataSource
will continuously modifyCameraOptions.pitch
property when producing camera frame inNavigationCameraState.following
state.If
false
,NavigationViewportDataSource
will not modifyCameraOptions.pitch
property.Defaults to
true
.Declaration
Swift
public var pitchUpdatesAllowed: Bool
-
If
true
,NavigationViewportDataSource
will continuously modifyCameraOptions.padding
property when producing camera frame inNavigationCameraState.following
state.If
false
,NavigationViewportDataSource
will not modifyCameraOptions.padding
property.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
IntersectionDensity
options shrink that geometry to increase the zoom level.Declaration
Swift
public var intersectionDensity: IntersectionDensity
-
Options, which allow to modify
CameraOptions.bearing
property 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