Package-level declarations

Types

Link copied to clipboard
class BackCloseButtonState(val isFinalAction: Boolean, val onBackClicked: () -> Unit, val onCloseClicked: () -> Unit)
Link copied to clipboard
Link copied to clipboard
data class CameraButtonAction(val visible: Boolean = true, @DrawableRes val drawableId: Int, @StringRes val actionStringRes: Int = 0)
Link copied to clipboard
data class DataFlows(val location: () -> Flow<Location>, val routeProgress: () -> Flow<RouteProgress>, val activeRoutes: () -> Flow<List<NavigationRoute>>, val initialLocation: () -> Flow<Location>)
Link copied to clipboard
class DebugPointsAlongRouteDisplay(routesViewModel: RoutesViewModel, annotations: AnnotationPlugin)
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
class DestinationPreviewUiState(    val place: DataState<DestinationPreviewUiState.PlaceDetails>,     val primaryButton: DestinationPreviewUiState.ActionButton.Primary? = null,     val secondaryButton: DestinationPreviewUiState.ActionButton.Secondary? = null,     val backCloseButtonState: BackCloseButtonState? = null)
Link copied to clipboard
class MapController(fragment: Fragment, val mapView: MapView)
Link copied to clipboard
class MapEdgeInsets(mapView: MapView, arrivalEdgeInsets: EdgeInsets?)
Link copied to clipboard
Link copied to clipboard

A new instance of MapLayerManager will be created for each instance of MapView

Link copied to clipboard
typealias PlacesListUiComposer = @Composable (state: PlacesListUiState, modifier: Modifier) -> Unit
Link copied to clipboard
class PlacesListUiState(    val title: DataState<String>,     val items: DataState<List<DashSearchResult>>,     val itemSelected: (Int) -> Unit,     val backCloseButtonState: BackCloseButtonState?)
Link copied to clipboard
class SelectedPoiController(mapboxMap: MapboxMap, observerDestinationMarkers: ObserverDestinationMarkersUseCase)

Properties

Link copied to clipboard
const val MAX_PITCH_DEGREES: Double = 70.0

Functions

Link copied to clipboard
Link copied to clipboard
fun getTerrainStyleExtension(styleUri: String, isTerrain3DEnabled: Boolean, is3DMapEnabled: Boolean): MapStyleData
Link copied to clipboard
fun MapButton(modifier: Modifier = Modifier, @DrawableRes icon: Int, enabled: Boolean = true, onClick: () -> Unit = {})
Link copied to clipboard
Link copied to clipboard
fun setupDebugView(mapView: MapView, debugInfoViewModel: DebugInfoViewModel)
Link copied to clipboard
Link copied to clipboard
fun tryToSetTerrainExaggeration(mapboxMap: MapboxMap, isTerrain3DEnabled: Boolean)