routeLine
fun ComponentInstaller.routeLine(mapView: MapView, config: RouteLineConfig.() -> Unit = {}): Installation
Content copied to clipboard
Install component that renders route line on the map.
The installed component:
renders route lines returned by RoutesObserver
vanishes the traveled portion of the route line (if enabled via MapboxRouteLineOptions in the configuration)
selects alternative route on map click