Package-level declarations

Types

Link copied to clipboard
class DefaultMinimapControllerViewModel(sdkContext: Context, options: MapControllerOptions) : MapControllerViewModel, AutoCloseable

MapControllerViewModel of a minimap: a non-interactive map with the Lite graphics preset, created with MapControllerFactory.MiniMap.

Link copied to clipboard
data class MinimapRenderOptions(val devicePpi: DevicePpi? = null, val deviceDensity: DeviceDensity? = null)

View-layer options of the minimap. Mirrors MapRenderOptions except for the options fixed by the minimap itself: the copyright is always hidden (it duplicates the one of the main map), and the render mode is always TEXTURE — the minimap is clipped to a circle, which SurfaceView does not support.

Functions

Link copied to clipboard
fun MinimapComposable(viewModel: MapControllerViewModel, size: Dp, opacity: Opacity, viewOptions: MinimapRenderOptions = MinimapRenderOptions())

Renders a non-interactive minimap view.