CameraState
Properties
The camera data of the map view. The data contains the camera position and whether the camera is stable. This value is backed by MutableState. Returns null when map is not ready yet.
Identifies the position tracking mode of the camera.
Functions
Moves the camera according to the given cameraOptions and animates the transition.
Moves the camera according to the CameraOptions created by factory and animates the transition.
Immediately moves the camera according to the given cameraOptions.
Immediately moves the camera according to the CameraOptions created by factory.
Zooms to all markers added via Marker or Markers Composables. If this results in focusing on a single marker, the specified zoom level is used. Nothing happens if no markers are visible.
Updates camera view to fit all route points with additional padding.
Zooms to the markers identified by markersIds. If this results in focusing on a single marker, the specified zoom level is used. Nothing happens if no markers are identified.