MapRuntime
Creates maps and snapshotters that share configuration and resources.
Closing a map or snapshotter leaves this runtime and its other children open.
On MapLibre Native platforms, a long operation can delay other work on this runtime. A fatal runtime failure closes all its maps and snapshotters. Use separate runtimes when their work must run independently.
Properties
Functions
Link copied to clipboard
Waits until every child and shared resource has finished cleanup.
Link copied to clipboard
fun createMapState(baseStyle: BaseStyle, cameraPosition: CameraPosition = CameraPosition(), content: @Composable () -> Unit = {}): MapState
Link copied to clipboard