cancelRoute static method

void cancelRoute(
  1. TaskHandler taskHandler
)

Cancels the route calculation associated with the specified listener.

Parameters

  • IN taskHandler The listener associated with the route calculation to be canceled.

Implementation

static void cancelRoute(final TaskHandler taskHandler) {
  taskHandler as TaskHandlerImpl;

  staticMethod('RoutingService', 'cancelRoute', args: taskHandler.id);
}