setRoute
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
Set a route to be rendered. This also resets the selected leg and step indices to 0.
Parameters
route
Route
icons
Zero based indexed map with icons to use for the route stops. The indexes are the natural occurring order of the stops. So if optimized use MPRoute.getOrderedStopIndexes to know the order of the stops.
Throws
if the route is null