OverviewCameraOptions
public struct OverviewCameraOptions : Equatable
Options, which are used to control what CameraOptions
parameters will be modified by
NavigationViewportDataSource
in NavigationCameraState.overview
state.
-
Maximum zoom level, which will be used when producing camera frame in
NavigationCameraState.overview
state.Defaults to
16.35
.Invariant
Acceptable range of values is 0…22.Declaration
Swift
public var maximumZoomLevel: Double { get set }
-
If
true
,NavigationViewportDataSource
will continuously modifyCameraOptions.center
property when producing camera frame inNavigationCameraState.overview
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.overview
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.overview
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.overview
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.overview
state.If
false
,NavigationViewportDataSource
will not modifyCameraOptions.padding
property.Defaults to
true
.Declaration
Swift
public var paddingUpdatesAllowed: Bool
-
Initializes
OverviewCameraOptions
instance.Declaration
Swift
public init()
-
Declaration
Swift
public static func == (lhs: OverviewCameraOptions, rhs: OverviewCameraOptions) -> Bool