switchRoute
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
Change path drawing to a different route. If you want to change route segment only and keep the same route, use switchRouteSegment instead.
The route path you want to switch to