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

TaskHandler

The task handler associated with the route calculation to be canceled.

Returns:

RouteStatus

The status of the route calculation.

Exceptions

An exception if it fails.