Distance

פרמיום
על ידי Distance.to | מְעוּדכָּן a month ago | Mapping
פּוֹפּוּלָרִיוּת

9.6 / 10

חֶבִיוֹן

464ms

רמת שירות

100%

Health Check

100%

חזרה לכל הדיונים

Is it possible to utilize latitude and longitude in the request?

Rapid account: Lorenzopiccioli
lorenzopiccioli
4 months ago

Is it possible to do something like the following:
{
“route”: [
{
“country”: “ITA”,
“name”: “Rome”,
“latitude”: “41.78308570983228”,
“longitude”: “12.84690092345952”
},
{
“country”: “ITA”,
“name”: “Rome”,
“latitude”: “41.78308570983228”,
“longitude”: “12.84690092345952”
}
]
}

Rapid account: Distance To
Distance.to Commented 4 months ago

Sure, you can add coordinates to the name input as latitude,longitude:

{ "route": [ { "name": "41.7830857,12.846900" }, { "country": "DEU", "name": "Hamburg" } ] }

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות