DefaultMapHelper

class DefaultMapHelper(mapboxRouteHelper: MapboxRouteHelper, lifecycleOwner: LifecycleOwner, cameraControllerProvider: (mapView: MapView, viewportDataSource: MapboxNavigationViewportDataSource, camera: NavigationCamera) -> OptionsAwareCameraController, debugCameraOptionsProvider: DebugCameraOptionsProvider, arrivalEdgeInsets: EdgeInsets?, safeAreaPaddings: EdgeInsets, cameraConfigProvider: (MapView) -> CameraConfig, observeEnhancedLocationUseCase: () -> Flow<Location>, observeRouteProgressUseCase: () -> Flow<RouteProgress>, observeActiveRoutesUseCase: () -> Flow<List<NavigationRoute>>, observeInitialLocationUseCase: () -> Flow<Location>) : MapHelper

Constructors

Link copied to clipboard
constructor(mapboxRouteHelper: MapboxRouteHelper, lifecycleOwner: LifecycleOwner, cameraControllerProvider: (mapView: MapView, viewportDataSource: MapboxNavigationViewportDataSource, camera: NavigationCamera) -> OptionsAwareCameraController, debugCameraOptionsProvider: DebugCameraOptionsProvider, arrivalEdgeInsets: EdgeInsets?, safeAreaPaddings: EdgeInsets, cameraConfigProvider: (MapView) -> CameraConfig, observeEnhancedLocationUseCase: () -> Flow<Location>, observeRouteProgressUseCase: () -> Flow<RouteProgress>, observeActiveRoutesUseCase: () -> Flow<List<NavigationRoute>>, observeInitialLocationUseCase: () -> Flow<Location>)

Properties

Link copied to clipboard
open override var isDebugEnabled: Boolean
Link copied to clipboard
open override val routeHelper: RouteHelper

Functions

Link copied to clipboard
open override fun hideRoutes()
Link copied to clipboard
open override fun maximizeViewableGeometry(maximize: Boolean)
Link copied to clipboard
open override fun onApplyWindowInsets(leftInset: Double, topInset: Double, rightInset: Double, bottomInset: Double)
Link copied to clipboard
open override fun onCameraTransitionComplete(listener: () -> Unit)
Link copied to clipboard
open override fun requestFollowingMode(camera: CameraAnimation)
Link copied to clipboard
open override fun requestIdleMode(camera: CameraAnimation)
Link copied to clipboard
open override fun requestOverviewMode(camera: CameraAnimation)
Link copied to clipboard
open override fun showRoutes()
Link copied to clipboard
open override fun start(mapView: MapView)
Link copied to clipboard
open override fun stop()