MapView

fun MapView(uiViewModel: <Error class: unknown class> = viewModel(), mapViewModel: MapViewModel = viewModel(), navigateToNodeDetails: (Int) -> Unit)

Main composable for displaying the map view, including nodes, waypoints, and user location. It handles user interactions for map manipulation, filtering, and offline caching.

Parameters

model

The UIViewModel providing data and state for the map.

navigateToNodeDetails

Callback to navigate to the details screen of a selected node.


fun MapView(uiViewModel: <Error class: unknown class>, mapViewModel: MapViewModel = hiltViewModel(), navigateToNodeDetails: (Int) -> Unit, focusedNodeNum: Int? = null, nodeTrack: List<<Error class: unknown class>>? = null)