-
See moreNavigationCamera
class provides functionality, which allows to manage camera related states and transitions in a typical navigation scenarios. It’s fed withCameraOptions
via theViewportDataSource
protocol and executes transitions usingCameraStateTransition
protocol.Declaration
Swift
public class NavigationCamera : NSObject, ViewportDataSourceDelegate
-
Possible types of
See moreNavigationCamera
.Declaration
Swift
public enum NavigationCameraType
-
Possible states which
See moreNavigationCamera
can have.Declaration
Swift
public enum NavigationCameraState
-
Protocol, which is used to execute camera related transitions, based on data provided via
CameraOptions
inViewportDataSource
.By default Navigation SDK for iOS provides default implementation of
See moreCameraStateTransition
inNavigationCameraStateTransition
.Declaration
Swift
public protocol CameraStateTransition : AnyObject
-
Class, which conforms to
See moreCameraStateTransition
protocol and provides default implementation of camera related transitions by usingCameraAnimator
functionality provided by Mapbox Maps SDK.Declaration
Swift
public class NavigationCameraStateTransition : CameraStateTransition
-
Protocol, which is used to fill and store
CameraOptions
which will be used byNavigationCamera
for execution of transitions and continuous updates.By default Navigation SDK for iOS provides default implementation of
See moreViewportDataSource
inNavigationViewportDataSource
.Declaration
Swift
public protocol ViewportDataSource : AnyObject
-
Class, which conforms to
See moreViewportDataSource
protocol and provides default implementation of it.Declaration
Swift
public class NavigationViewportDataSource : ViewportDataSource
extension NavigationViewportDataSource: LocationConsumer
-
Possible types of location related updates
See moreNavigationViewportDataSource
can track.ViewportDataSourceType
can also be used in custom implementations of classes, which conform toViewportDataSource
.Declaration
Swift
public enum ViewportDataSourceType
-
Delegate, which is used to notify
See moreNavigationCamera
regarding upcomingCameraOptions
related changes.Declaration
Swift
public protocol ViewportDataSourceDelegate : AnyObject