selectRoute

abstract fun selectRoute(routeId: RouteId): Route?

Select the given Route and bring it to the front.

If the provided Route is not a route from the RoutePlan displayed with displayRoutePlan, or if the provided Route is already the selected route, then this method does nothing.

Return

The Route selected or null if the route is not in plannedRoutes.

Parameters

routeId

The RouteId of a Route to bring to the front.