FollowDirection

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

For default operator config look at DEFAULT_FOLLOW_DIRECTION_CAMERA_OPERATOR_CONFIG.

Parameters

config

the configuration for follow camera operator.

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

Constructors

Link copied to clipboard
constructor(config: FollowCameraOperatorConfig)

Properties

Link copied to clipboard