FollowRouteDirection

The FollowRouteDirection operator tracks the current position and adjusts the camera so that the position marker is in the lower middle section 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.

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

At a less detailed scale than 1:2.400.000, the operator behaves like the FollowDirection.

You can also define a custom follow route operator behavior by creating a new instance of the FollowRouteDirection 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