API Reference - navigation.destinationCoordinates
This API allows to retrieve list of waypoints & destination’s coordinates of the current navigation.
“If no active guidance, data should be an empty array : 'data': []
.”
Input Parameter | |||||
---|---|---|---|---|---|
No input params |
Output Data | ||||
---|---|---|---|---|
Data name | Description | Type | Unit/Values | Example |
coordinates | Array of coordinates, last one is the destination, the others are waypoints. |
Object |
/ |
|
coordinates
.longitude |
Current longitude of the vehicle. |
number |
8.74301
|
|
coordinates
.latitude |
Current latitude of the vehicle. |
number |
8.74301
|
This API allows to retrieve list of waypoints & destination’s coordinates of the current navigation.
This event is triggered when the waypoints or destination are changed AND when the navigation destination is reached.
If destination is reached, data should be an empty array : 'data': []
.
Input Parameter | |||||
---|---|---|---|---|---|
No input params |
Output Data | ||||
---|---|---|---|---|
Data name | Description | Type | Unit/Values | Example |
coordinates | Array of coordinates, last one is the destination, the others are waypoints. |
Object |
/ |
|
coordinates
.longitude |
Current longitude of the vehicle. |
number |
8.74301
|
|
coordinates
.latitude |
Current latitude of the vehicle. |
number |
8.74301
|