-
See moreNavigationCameraclass provides functionality, which allows to manage camera related states and transitions in a typical navigation scenarios. It’s fed withCameraOptionsvia theViewportDataSourceprotocol and executes transitions usingCameraStateTransitionprotocol.Declaration
Swift
public class NavigationCamera : NSObject, ViewportDataSourceDelegate -
Possible types of
See moreNavigationCamera.Declaration
Swift
public enum NavigationCameraType -
Possible states which
See moreNavigationCameracan have.Declaration
Swift
public enum NavigationCameraState -
Protocol, which is used to execute camera related transitions, based on data provided via
CameraOptionsinViewportDataSource.By default Navigation SDK for iOS provides default implementation of
See moreCameraStateTransitioninNavigationCameraStateTransition.Declaration
Swift
public protocol CameraStateTransition : AnyObject -
Class, which conforms to
See moreCameraStateTransitionprotocol and provides default implementation of camera related transitions by usingCameraAnimatorfunctionality provided by Mapbox Maps SDK.Declaration
Swift
public class NavigationCameraStateTransition : CameraStateTransition -
Protocol, which is used to fill and store
CameraOptionswhich will be used byNavigationCamerafor execution of transitions and continuous updates.By default Navigation SDK for iOS provides default implementation of
See moreViewportDataSourceinNavigationViewportDataSource.Declaration
Swift
public protocol ViewportDataSource : AnyObject -
Class, which conforms to
See moreViewportDataSourceprotocol and provides default implementation of it.Declaration
Swift
public class NavigationViewportDataSource : ViewportDataSourceextension NavigationViewportDataSource: LocationConsumer -
Possible types of location related updates
See moreNavigationViewportDataSourcecan track.ViewportDataSourceTypecan also be used in custom implementations of classes, which conform toViewportDataSource.Declaration
Swift
public enum ViewportDataSourceType -
Delegate, which is used to notify
See moreNavigationCameraregarding upcomingCameraOptionsrelated changes.Declaration
Swift
public protocol ViewportDataSourceDelegate : AnyObject -
Options, which are used to control what
See moreCameraOptionsparameters will be modified byNavigationViewportDataSourceinNavigationCameraState.followingstate.Declaration
Swift
public struct FollowingCameraOptions : Equatable -
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
See moreIntersectionDensityoptions shrink that geometry to increase the zoom level.Declaration
Swift
public struct IntersectionDensity : Equatable -
Options, which allow to modify
See moreCameraOptions.bearingproperty based on information about bearing of an upcoming maneuver.Declaration
Swift
public struct BearingSmoothing : Equatable -
Options, which allow to modify framed route geometries by appending additional coordinates after maneuver to extend the view.
See moreDeclaration
Swift
public struct GeometryFramingAfterManeuver : Equatable -
Options, which allow to modify the framed route geometries when approaching a maneuver.
See moreDeclaration
Swift
public struct PitchNearManeuver : Equatable -
Options, which are used to control what
See moreCameraOptionsparameters will be modified byNavigationViewportDataSourceinNavigationCameraState.overviewstate.Declaration
Swift
public struct OverviewCameraOptions : Equatable -
Options, which give the ability to control whether certain
See moreCameraOptionswill be generated byNavigationViewportDataSourceor can be provided by user directly.Declaration
Swift
public struct NavigationViewportDataSourceOptions : Equatable -
Declaration
Swift
extension CameraOptions
Install in Dash
Camera Reference