Home > @magiclane/maps-sdk > NavigationService > getNavigationRoute
NavigationService.getNavigationRoute() method
Get the current route used for navigation.
Signature:
static getNavigationRoute(input?: {
taskHandler?: TaskHandler;
}): Route;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ taskHandler } |
(not declared) |
(Optional) |
|
input |
{ taskHandler?: TaskHandler; } |
(Optional) |
Returns:
Target route for the navigation session
Exceptions
An exception if it fails.