CameraTrackingMode
public enum CameraTrackingMode : Equatable
A type that represents camera tracking modes.
-
No camera tracking.
Declaration
Swift
case none
-
North Up Follow Camera Operator, with which the camera follows the current position.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
case follow(configuration: FollowCameraOperatorConfig? = FollowCameraOperatorConfig.DEFAULT_FOLLOW_CAMERA_OPERATOR_CONFIG)
Parameters
configuration
Configration for follow camera operator.
-
Follow Route Camera Operator, camera follows the current position and heading, while adjusting tilt and scale to best present the route and its guidance instructions.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
case followRoute(_: FollowCameraOperatorConfig? = FollowCameraOperatorConfig.DEFAULT_FOLLOW_ROUTE_CAMERA_OPERATOR_CONFIG)
Parameters
configuration
Configration for follow camera operator.
-
Direction Up Follow Camera Operator, camera follows the current position and heading.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
case followDirection(_: FollowCameraOperatorConfig? = FollowCameraOperatorConfig.DEFAULT_FOLLOW_DIRECTION_CAMERA_OPERATOR_CONFIG)
Parameters
configuration
Configration for follow camera operator.
-
The operator tries to fit the routes in the current view, by changing the camera zoom and look-at parameters. It constantly adjusts these parameters in order to keep the remaining part of the route(s) in view. Tilt and heading parameters are set to 0 in this camera mode.
Declaration
Swift
case routeOverview
-
Follow Route Camera Operator, camera follows the current position and heading, while adjusting tilt and scale to best present the route and its guidance instructions.
Declaration
Swift
public static let followRoute: CameraTrackingMode
-
Direction Up Follow Camera Operator, camera follows the current position and heading.
Declaration
Swift
public static let followDirection: CameraTrackingMode
-
North Up Follow Camera Operator, with which the camera follows the current position.
Declaration
Swift
public static let follow: CameraTrackingMode