cancelRoute static method
- TaskHandler taskHandler
Cancel the route calculation associated with the specified listener.
Parameters
- IN taskHandler The listener associated with the route calculation to be canceled.
Throws
- An exception if it fails.
Implementation
static void cancelRoute(final TaskHandler taskHandler) {
taskHandler as TaskHandlerImpl;
staticMethod('RoutingService', 'cancelRoute', args: taskHandler.id);
}