MinimapComposable
fun MinimapComposable(viewModel: MapControllerViewModel, size: Dp, opacity: Opacity, viewOptions: MinimapRenderOptions = MinimapRenderOptions())
Renders a non-interactive minimap view.
The composable follows MapControllerViewModel.state: until the map is created, the map loading background is shown. It does not own the view model and never closes it.
Parameters
viewModel
Owner of the minimap controller (e.g. DefaultMinimapControllerViewModel).
size
Desired size of the minimap circle.
opacity
Opacity of the minimap circle.
viewOptions
Options for configuring the minimap view rendering.