CameraPositionState

A state object that can be hoisted to control and observe the map's camera state. A CameraPositionState may only be used by a single YandexMap composable at a time as it reflects instance state for a single view of a map.

Parameters

position

the initial camera position

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the camera is currently moving or not. This includes any kind of movement: panning, zooming, or rotation.

Link copied to clipboard

Current position of the camera on the map.

Link copied to clipboard

The reason for the start of the most recent camera moment