MapViewModel

class MapViewModel(fetchDestinationForDroppedPin: FetchDestinationResultForDroppedPinUseCase, fetchDestinationForPoi: FetchDestinationResultForPoiUseCase, informMapLoaded: InformMapLoadedUseCase, informMapNotLoaded: InformMapNotLoadedUseCase, informMapStartLoading: InformMapStartLoadingUseCase, informMapClicked: InformMapClickedUseCase, reorderRoutesUseCase: ReorderRoutesUseCase, informTargetSearchAreaReady: InformTargetSearchAreaReadyUseCase, compareTargetWithThresholdSearchArea: CompareTargetWithThresholdSearchAreaUseCase, searchMetricsTracker: SearchMetricsTracker, screenTracker: ScreenTracker, searchAnalytics: SearchAnalytics, cameraLocationProvider: CameraLocationProvider, navigationTripSessionHolder: NavigationTripSessionHolder, observePoiSelectionEnabled: ObservePoiSelectionEnabledUseCase, overviewEvDestinationResultUseCase: OverviewEvDestinationResultUseCase, isSearchMarkersVisible: IsSearchMarkersVisibleUseCase, observeDrivingSideUseCase: ObserveDrivingSideUseCase) : ViewModel

Constructors

Link copied to clipboard
constructor(fetchDestinationForDroppedPin: FetchDestinationResultForDroppedPinUseCase, fetchDestinationForPoi: FetchDestinationResultForPoiUseCase, informMapLoaded: InformMapLoadedUseCase, informMapNotLoaded: InformMapNotLoadedUseCase, informMapStartLoading: InformMapStartLoadingUseCase, informMapClicked: InformMapClickedUseCase, reorderRoutesUseCase: ReorderRoutesUseCase, informTargetSearchAreaReady: InformTargetSearchAreaReadyUseCase, compareTargetWithThresholdSearchArea: CompareTargetWithThresholdSearchAreaUseCase, searchMetricsTracker: SearchMetricsTracker, screenTracker: ScreenTracker, searchAnalytics: SearchAnalytics, cameraLocationProvider: CameraLocationProvider, navigationTripSessionHolder: NavigationTripSessionHolder, observePoiSelectionEnabled: ObservePoiSelectionEnabledUseCase, overviewEvDestinationResultUseCase: OverviewEvDestinationResultUseCase, isSearchMarkersVisible: IsSearchMarkersVisibleUseCase, observeDrivingSideUseCase: ObserveDrivingSideUseCase)

Properties

Link copied to clipboard
Link copied to clipboard
val enhancedLocation: StateFlow<Location?>
Link copied to clipboard
val initialLocation: StateFlow<Location?>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun onCameraAnimationFinished(currentSearchAreaBounds: BoundingBox)
Link copied to clipboard
fun onCameraMoved(thresholdSearchAreaBounds: BoundingBox)
Link copied to clipboard
fun onEvPoiClicked(poi: Poi, evStationPoi: EvStationPoi)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onMapLongClicked(point: Point)
Link copied to clipboard
fun onMapNotLoaded(eventData: MapLoadingError)
Link copied to clipboard
Link copied to clipboard
fun onPoiClicked(poi: Poi)
Link copied to clipboard
fun onResume()
Link copied to clipboard
fun onRouteClicked(route: NavigationRoute)