CarRouteLineRenderer

class CarRouteLineRenderer(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.

Constructors

Link copied to clipboard
fun CarRouteLineRenderer(carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider())

Functions

Link copied to clipboard
open override fun onAttached(mapboxCarMapSurface: MapboxCarMapSurface)
Link copied to clipboard
open override fun onDetached(mapboxCarMapSurface: MapboxCarMapSurface)
Link copied to clipboard
open fun onStableAreaChanged(@NonNull p0: Rect, @NonNull p1: EdgeInsets)
Link copied to clipboard
open fun onVisibleAreaChanged(@NonNull p0: Rect, @NonNull p1: EdgeInsets)