displayRoutePlan

abstract fun displayRoutePlan(routePlan: RoutePlan)

Displays a RoutePlan on the map.

Adds a Route instance to the map for each Route contained in the route plan. By default, the first route of the plan is selected, but you can select 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.