resetRouteRoadBlocks static method
Clears all user-defined road blocks.
Removes all road blocks previously set via setRouteRoadBlock, allowing future route calculations and recalculations to use those road sections normally. Safe to call even if no road blocks are currently set (no-op).
Affects all subsequent route calculations and recalculations, but does not force an immediate recalculation of active navigation routes—the new routing behavior applies on the next scheduled or triggered recalculation.
See also:
- setRouteRoadBlock - Sets a road block on a specific section.
- TrafficService - Service providing management of persistent road blocks.
Implementation
static void resetRouteRoadBlocks() {
staticMethod('RoutingService', 'resetRouteRoadBlocks');
}