MapRuntime
Creates logical maps that share one application-level configuration.
Functions
Link copied to clipboard
Waits until every child and shared resource has finished cleanup.
Link copied to clipboard
abstract fun createMapState(initialBaseStyle: BaseStyle, initialCameraPosition: CameraPosition = CameraPosition(), content: @Composable () -> Unit = {}): MapState
Creates a logical map with initialBaseStyle and the sources, layers, and images that content declares. The caller must close the result.
Link copied to clipboard
abstract fun createSnapshotter(initialBaseStyle: BaseStyle, content: @Composable () -> Unit = {}): MapSnapshotter
Creates an independent non-UI map with initialBaseStyle and the sources, layers, and images that content declares, for image capture. The caller must close the result.