switchRoute

abstract fun switchRoute(routePath: RoutePath)

Change path drawing to a different route. If you want to change route segment only and keep the same route, use switchRouteSegment instead.

Parameters

routePath

The route you want to switch to

See also