MinimapComposable

fun MinimapComposable(viewModel: MinimapViewModel, size: Dp, opacity: Opacity)

Renders a non-interactive minimap view.

Parameters

viewModel

ViewModel that manages minimap visualization and state. Note: This ViewModel requires the 'MapRenderMode.TEXTURE' option to properly clip the minimap circle. Please note that using this mode has a performance impact compared to 'MapRenderMode.SURFACE'. @see Choosing SurfaceView or TextureView

size

Desired size of the minimap circle.