NavigationCameraStateTransition
public class NavigationCameraStateTransition : CameraStateTransition
Class, which conforms to CameraStateTransition
protocol and provides default implementation of
camera related transitions by using CameraAnimator
functionality provided by Mapbox Maps SDK.
-
A map view to which corresponding camera is related.
Declaration
Swift
public weak var mapView: MapView?
-
Declaration
Swift
required public init(_ mapView: MapView)
-
Declaration
Swift
public func transitionToFollowing(_ cameraOptions: CameraOptions, completion: @escaping (() -> Void))
-
Declaration
Swift
public func transitionToOverview(_ cameraOptions: CameraOptions, completion: @escaping (() -> Void))
-
Declaration
Swift
public func cancelPendingTransition()
-
Declaration
Swift
public func update(to cameraOptions: CameraOptions, state: NavigationCameraState)