setActiveRoute

abstract fun setActiveRoute(route: Route)

Deprecated

This will be removed from future releases after 2025-03-31.

Replace with

selectRoute(routeId:)

Set as active a MapDisplayRoute from the routes displayed on the map.

If the provided MapDisplayRoute is not a route from the RoutePlan displayed with displayRoutePlan, then this method does nothing.

Parameters

route

The MapDisplayRoute to be active.