Package com.mapbox.navigation.ui.maps.installer

Types

Link copied to clipboard
class CameraModeComponentConfig

Camera mode button component configuration class.

Link copied to clipboard
class NavigationCameraComponentConfig

NavigationCamera component configuration class.

Link copied to clipboard
class RecenterButtonComponentConfig

Recenter button component configuration class.

Link copied to clipboard
class RouteArrowComponentConfig

Route arrow component configuration class.

Link copied to clipboard
class RouteLineComponentConfig

Route line component configuration class.

Functions

Link copied to clipboard
fun ComponentInstaller.cameraModeButton(button: MapboxCameraModeButton, config: CameraModeComponentConfig.() -> Unit = {}): Installation

Install component that toggles NavigationCamera between NavigationCameraState.OVERVIEW and NavigationCameraState.FOLLOWING on button click.

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

Install NavigationCamera component.

Link copied to clipboard
fun ComponentInstaller.recenterButton(    mapView: MapView,     button: MapboxExtendableButton,     config: RecenterButtonComponentConfig.() -> Unit = {}): Installation

Install component that re-centers the mapView to device location on button click.

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

Install component that renders route line arrows on the map.

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

Install component that renders route line on the map.