navigationCamera

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

Install NavigationCamera component.

The installed components register itself as both LocationObserver and RouteProgressObserver and drives NavigationCamera by updating its MapboxNavigationViewportDataSource.