Distance

FREEMIUM
Durch Distance.to | Aktualisiert a month ago | Mapping
Popularität

9.6 / 10

Latenz

459ms

Service Level

100%

Health Check

100%

Zurück zu allen Diskussionen

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" } ] }

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen