setTrackingMode

open override fun setTrackingMode(mode: MapTrackingMode)

Sets the map's tracking mode.

This controls how the camera follows the user's location. Based on the selected MapTrackingMode, this method automatically adjusts the map padding, CameraViewMode, and MapCameraMode.

Parameters

mode

The tracking mode to set.

See also