getRouteDrawData
fun getRouteDrawData(consumer: MapboxNavigationConsumer<Expected<RouteLineError, RouteSetValue>>)
Content copied to clipboard
Gathers the data necessary to draw the route line(s) on the map based on the current state.
Parameters
consumer
a method that consumes the result of the operation. The data received by the consumer should be passed to the render method of the MapboxRouteLineView