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 active, but you can set a different route using setActiveRoute. 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.