CarRouteLineRenderer
class CarRouteLineRenderer(options: CarRouteLineRendererOptions = CarRouteLineRendererOptions.Builder()
.build(), carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider()) : MapboxCarMapObserver
This class is to simplify the interaction with MapboxRouteLineApi, MapboxRouteArrowView, and RouteProgressObserver use cases that the app needs in the car.
Anything for rendering the car's route line, is handled here at this point.
Parameters
options
customizes the route line and maneuver arrow rendering components, see CarRouteLineRendererOptions.
Constructors
Link copied to clipboard
constructor(options: CarRouteLineRendererOptions = CarRouteLineRendererOptions.Builder()
.build(), carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider())