DefaultMinimapControllerViewModel
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.
Creation starts in the constructor. The instance must be closed when the minimap is no longer needed; closing also closes the controller.
Main thread only.
Constructors
Functions
Link copied to clipboard
The controller as composition state: null while the map is not created, triggers recomposition when the map appears or changes.
Link copied to clipboard
Same as collectController, but returns Map of the controller.