onRouteRecalculation

abstract fun onRouteRecalculation(state: NavigationState, newRoute: Route, routePathType: RoutePathType)

Implements this method to handle routing recalculation.

Parameters

newRoute

The refreshed routing path requires recalculating routing instructions.