Builder

open fun Builder(mapView: MapView, mapboxMap: MapboxMap, lifecycleOwner: LifecycleOwner)

Instantiates a new Builder.

Parameters

mapView

the MapView to apply the route to

mapboxMap

the MapboxMap to apply route with

lifecycleOwner

provides lifecycle for the component