DefaultMinimapViewModel

class DefaultMinimapViewModel(navigationManager: NavigationManager, val mapState: MapComposableState) : MinimapViewModel

Constructors

Link copied to clipboard
constructor(navigationManager: NavigationManager, mapState: MapComposableState)

Properties

Link copied to clipboard
open override val mapState: MapComposableState

Functions

Link copied to clipboard
open override fun onCleared()

Cleans up resources and closes all connections. Must be called when the ViewModel is no longer needed to prevent memory leaks. This method closes all channel connections to the NavigationManager.

Link copied to clipboard
open override fun onMapReady(map: Map?)

Initializes minimap when its becomes available.