FollowRouteDirection

The FollowRouteDirection operator tracks the current position and adjusts the camera so that the position marker is in the lower middle of the safe area and is always pointing up. Or, in other words, the operator ensures the camera is following the current position and is pointing in the driving direction.

This operator adjusts the scale and tilt to maximize the visibility of the incoming route instructions, according to the configuration provided in FollowCameraOperatorConfig.ControlPoint.

Adjusting tilt and scale require marking chosen Route as followable using Route.follow() or RouteOptions.followable.

Note: Only one Route can be followed at a time.

For default operator config look at DEFAULT_FOLLOW_ROUTE_CAMERA_OPERATOR_CONFIG.

Parameters

config

the configuration for follow camera operator.

Constructors

Link copied to clipboard
constructor(config: FollowCameraOperatorConfig)

Properties

Link copied to clipboard