Package-level declarations
Types
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.
Config for Map that uses default configuration
Config to control Yandex logo object with Map.getLogo
Marks declarations that runs in custom MapComposition, outside compose-ui composition context.
Contains common implementation of MapWindow, that uses for controlling YandexMap
Marks declarations that are still experimental.
Properties
The current CameraPositionState used by the map.
Functions
Bind calling MapKit.onStart and MapKit.onStop to LifecycleOwner and composition
A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed YandexMap object into the composition's CoroutineContext. This effect will be re-launched when a different key1 is provided.
A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed YandexMap object into the composition's CoroutineContext. This effect will be re-launched when a different keys is provided.
A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed YandexMap object into the composition's CoroutineContext. This effect will be re-launched when a different key1 or key2 is provided.
A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed YandexMap object into the composition's CoroutineContext. This effect will be re-launched when a different key1, key2 or key3 is provided.
Remember global MapKit instance and initialize it on Android
Create and rememberSaveable a CameraPositionState using CameraPositionState.Saver. init will be called when the CameraPositionState is first created to configure its initial state.
Uses rememberSaveable to retain CircleState.geometry across configuration changes, for simple use cases.
Remember global MapKit instance
Uses rememberSaveable to retain PlacemarkState.geometry and PlacemarkState.direction across configuration changes, for simple use cases.
Uses rememberSaveable to retain PolylineState.geometry across configuration changes, for simple use cases.
Create and remember YandexMapController. Don't pass to multiple YandexMap. Don't save it anywhere, contains native references.