getRouteDrawData

fun getRouteDrawData(consumer: MapboxNavigationConsumer<Expected<RouteLineError, RouteSetValue>>)

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