FollowRouteNorthUp

This operator tracks the current position and adjusts the camera so that the position marker is in the center of the safe area. The camera heading is fixed to the north, meaning the position marker changes its orientation, but the map does not rotate. The tilt is set to 0 (top down view).

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

This operator shares the functionality that FollowNorthUp operator offers, and additionally it adjusts the scale and tilt to maximize the visibility of the incoming route instructions.

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

For default operator config look at DEFAULT_FOLLOW_ROUTE_CAMERA_OPERATOR_CONFIG.

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

Parameters

config

the configuration for follow camera operator.

Constructors

Link copied to clipboard
constructor(config: FollowCameraOperatorConfig)

Properties

Link copied to clipboard