plotRoute

fun plotRoute(route: DirectionsRoute, startIcon: Icon? = null, stopIcon: Icon? = null)

Display a DirectionsRoute on this renderer. This will automatically clear any previous ploted route.

Parameters

route

the DirectionsRoute to display

startIcon

customize the route starting marker (null will display a default icon)

stopIcon

customize the route stop marker (null will display a default icon)