FollowRouteNorthUp

The FollowRouteNorthUp 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 0 (north), meaning the position marker changes its orientation, but the map does not rotate. The tilt is set to 0.

Additionally, the operator also tracks the current route and adjusts the scale and tilt to best highlight the part of the route being currently driven, or the next upcoming guidance instruction.

You can also define a custom follow route operator behavior by creating a new instance of the FollowRouteNorthUp class with a custom FollowCameraOperatorConfig. This operator adjusts the scale and tilt to maximize the visibility of the incoming route instructions, according to the configuration provided in FollowCameraOperatorConfig.ControlPoint.

See also

Important: This is a Public Preview API. It may be changed or removed at any time.