Home > @magiclane/maps-sdk > RoutingService > getRouteStatus
RoutingService.getRouteStatus() method
Get the status for the route monitored by the given task handler.
Signature:
static getRouteStatus(taskHandler: TaskHandler): RouteStatus;Parameters
Parameter | Type | Description |
|---|---|---|
taskHandler | The task handler associated with the route calculation to be canceled. |
Returns:
The status of the route calculation.
Exceptions
An exception if it fails.