displayRoutePlan

abstract fun displayRoutePlan(routePlan: RoutePlan)

Displays a RoutePlan on the map.

Adds a Route instance to the map for each RoutingRoute contained in the route plan. By default, the first route of the plan is active, but you can set a different route using selectRoute. Consecutive calls of this method replace the previous RoutePlan being displayed. If the provided RoutePlan contains an empty list of routes, then this method does nothing.

Parameters

routePlan

The RoutePlan to be displayed on the map.