getRouteDrawData

suspend fun MapboxRouteLineApi.getRouteDrawData(): Expected<RouteLineError, RouteSetValue>

Return

a state which contains the side effects to be applied to the map. The data can be used to draw the current route line(s) on the map.