resetRouteRoadBlocks static method

void resetRouteRoadBlocks()

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:

Implementation

static void resetRouteRoadBlocks() {
  staticMethod('RoutingService', 'resetRouteRoadBlocks');
}