API Reference - navigation.favoriteDestinations
This API allows to manage favorite location.
| Input Parameter | |||||
|---|---|---|---|---|---|
| Param name | Description | Type | Unit/Values | Example | Required |
| locationAttributes | Location attributes to output in response. |
Array of strings |
- address
- coordinates
- mapMatchedCoordinates
|
['address', 'coordinates', 'mapMatchedCoordinates']
|
false |
| Output Data | ||||
|---|---|---|---|---|
| Data name | Description | Type | Unit/Values | Example |
| name | Name of this favorite location. |
string |
|
favorite1
|
| address | Address of this favorite location. |
Object |
|
|
| coordinates | Coordinates of this favorite location. |
string |
/ |
|
|
coordinates
.longitude |
Next maneuver longitude. |
number |
8.74301
|
|
|
coordinates
.latitude |
Next maneuver latitude. |
number |
8.74301
|
|
|
coordinates
.altitude |
Next maneuver altitude. |
number |
8.74301
|
|
| mapMatchedCoordinates | Map matched coordinates of this favorite location. |
Object |
/ |
|
|
mapMatchedCoordinates
.longitude |
Next maneuver longitude. |
number |
8.74301
|
|
|
mapMatchedCoordinates
.latitude |
Next maneuver latitude. |
number |
8.74301
|
|
|
mapMatchedCoordinates
.altitude |
Next maneuver altitude. |
number |
8.74301
|
|
This API allows to manage favorite location.
Providing Address & Coordinates together will produce a 400 Bad Request error (provide only one!)
| Input Parameter | |||||
|---|---|---|---|---|---|
| Param name | Description | Type | Unit/Values | Example | Required |
| action | Action to perform. |
Enum of String |
- add
- change
- remove
|
add
|
true |
| location | Location Object to remove. Only if |
Object |
/ | / |
|
|
location
.name |
Name of the favorite location to remove. |
string |
Egor's Castle
|
true |
|
| location | Location Object to add/change. Only if |
Object |
/ | / |
|
|
location
.name |
Name of the favorite location to |
string |
Egor's Castle
|
true |
|
|
location
.address |
Name of the favorite location to |
string |
|
true |
|
|
location
.coordinates |
Coordinates of the favorite location to |
string |
/ | / |
|
|
location
.coordinates .longitude |
Next maneuver longitude. |
number |
8.74301
|
|
|
|
location
.coordinates .latitude |
Next maneuver latitude. |
number |
8.74301
|
|
|
|
location
.coordinates .altitude |
Next maneuver altitude. |
number |
8.74301
|
|
|
| Output Data | ||||
|---|---|---|---|---|
| No outputted data |
This API allows to manage favorite location.
| Input Parameter | |||||
|---|---|---|---|---|---|
| No input params |
| Output Data | ||||
|---|---|---|---|---|
| Data name | Description | Type | Unit/Values | Example |
| action | Action performed on the favorite triggering this event. |
Enum of strings |
- add
- change
- remove
|
add
|
| location | Location triggering this. |
Object |
/ |
|
|
location
.name |
Name of this favorite location. |
string |
|
|
|
location
.address |
Address of this favorite location. |
Object |
|
|
|
location
.coordinates |
Coordinates of this favorite location. |
string |
/ |
|
|
location
.coordinates .longitude |
Next maneuver longitude. |
number |
8.74301
|
|
|
location
.coordinates .latitude |
Next maneuver latitude. |
number |
8.74301
|
|
|
location
.coordinates .altitude |
Next maneuver altitude. |
number |
8.74301
|
|
|
location
.mapMatchedCoordinates |
Map matched coordinates of this favorite location. |
Object |
/ |
|
|
location
.mapMatchedCoordinates .longitude |
Next maneuver longitude. |
number |
8.74301
|
|
|
location
.mapMatchedCoordinates .latitude |
Next maneuver latitude. |
number |
8.74301
|
|
|
location
.mapMatchedCoordinates .altitude |
Next maneuver altitude. |
number |
8.74301
|
|