Home > @magiclane/maps-sdk > NavigationService > skipNextIntermediateDestination
NavigationService.skipNextIntermediateDestination() method
Skip next intermediate destination on the navigation route. The route will be recalculated and an onRouteUpdated notification will be emitted
Signature:
static skipNextIntermediateDestination(input?: {
taskHandler?: TaskHandler;
}): GemError;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ taskHandler, } |
(not declared) |
(Optional) |
|
input |
{ taskHandler?: TaskHandler; } |
(Optional) |
Returns:
GemError
GemError.success on success, GemError.notFound if there are no more intermediate waypoints on the route
Exceptions
An exception if it fails.