display

fun display(route: Route, destinationImage: BitmapDrawable, routeColor: Int? = null)

Displays a route on the map.

Parameters

route

The route to display.

destinationImage

The image for the destination marker.

routeColor

The color for the route line. If null, a default color is used.