switchRoute

open 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 path you want to switch to

See also