Package-level declarations

Types

Link copied to clipboard
class MapViewportState(initialCameraState: CameraState = INIT_CAMERA_STATE)

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

Functions

Link copied to clipboard

Create and rememberSaveable a MapViewportState using MapViewportState.Saver. init will be called when the MapViewportState is first created to configure its initial state.