Is there any way to use lat/lng for Distance API?

3 posts / 0 new
Last post
lRaulMN
Is there any way to use lat/lng for Distance API?

Hello! I'm trying to get the DIstance from Cáceres to Madrid. When I use this URL, it works perfectly :

http://www.mapquestapi.com/directions/v2/route?key=KEY&from=C%C3%A1ceres&to=Madrid

But I would like to use lat/lng for my application. Is there any way to do it? Cáceres lng/lat are : "lng":-3.703583,"lat":39.472164

Thanks in advance. !


lRaulMN
Solution found

HI, I just found out. I leave this here just in case anyone was looking for this too ~~ Good luck!

http://www.mapquestapi.com/directions/v2/route?key=KEY&from=40.416729,-3...


MQBrianCoakley
Thanks for posting your
Thanks for posting your solution!