Package com.mapbox.navigation.ui.maps

Types

Link copied to clipboard
class BuildingHighlightConfig

Building Highlight component configuration class.

Link copied to clipboard
class LocationPuckConfig

Location puck component configuration class.

Link copied to clipboard
class NavigationCameraConfig

NavigationCamera component configuration class.

Link copied to clipboard
object NavigationStyles

An object that links to default navigation styles. We recommend using these map styles for an optimized map appearance for navigation use-cases.

Link copied to clipboard
class PredictiveCacheController

Predictive caching is a system that downloads necessary visual map and guidance data resources along the route upfront, before they are needed, in an attempt to provide a smooth experience even when connectivity is lost while using the app.

Link copied to clipboard
fun interface PredictiveCacheControllerErrorHandler

Listener that gets notified whenever there's an error with Predictive Cache.

Link copied to clipboard
class RouteArrowConfig

Route arrow component configuration class.

Link copied to clipboard
class RouteLineConfig

Route line component configuration class.

Functions

Link copied to clipboard
fun ComponentInstaller.buildingHighlight(mapView: MapView, config: BuildingHighlightConfig.() -> Unit = {}): Installation

Install component that highlights building upon arrival.

Link copied to clipboard
fun ComponentInstaller.locationPuck(mapView: MapView, config: LocationPuckConfig.() -> Unit = {}): Installation

Install component that renders LocationPuck.

Link copied to clipboard
fun ComponentInstaller.navigationCamera(mapView: MapView, config: NavigationCameraConfig.() -> Unit = {}): Installation

Install NavigationCamera component.

Link copied to clipboard
fun ComponentInstaller.routeArrow(mapView: MapView, config: RouteArrowConfig.() -> Unit = {}): Installation

Install component that renders route line arrows on the map.

Link copied to clipboard
fun ComponentInstaller.routeLine(mapView: MapView, config: RouteLineConfig.() -> Unit = {}): Installation

Install component that renders route line on the map.