Distance

FREEMIUM
By Distance.to | Updated 21 день назад | Mapping
Popularity

9.6 / 10

Latency

658ms

Service Level

100%

Health Check

100%

Back to All Discussions

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

Rapid account: Lorenzopiccioli
lorenzopiccioli
4 месяца назад

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 месяца назад

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

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

Join in the discussion - add comment below:

Login / Signup to post new comments