setRoute

open fun setRoute(@NonNull route: MPRoute)

Set a route to be rendered. This also resets the selected leg and step indices to 0.

Parameters

route

- Route

Throws

if the route is null