renderRouteDrawData
fun renderRouteDrawData( style: Style, routeDrawData: Expected<RouteLineError, RouteSetValue>, map: MapboxMap, callback: RoutesRenderedCallback)
Content copied to clipboard
Applies drawing related side effects.
Parameters
style
a valid Style instance
routeDrawData
a Expected
callback
RoutesRenderedCallback to be invoked when the routes are rendered
fun renderRouteDrawData(style: Style, routeDrawData: Expected<RouteLineError, RouteSetValue>)
Content copied to clipboard
Applies drawing related side effects.
Parameters
style
a valid Style instance
routeDrawData
a Expected