Jump to content


This topic is now archived and is closed to further replies.


Distance and Routing API

Recommended Posts

Ok, so this isn't really a PHP question, but I figured someone on this site would have some ideas for me.  I'm trying to calculate the distance between two user-input physical addresses, and I can't find an API that will do it.  I want to actually be able to return the distance values to hold in an array so I can manipulate them.  Google Maps will do the geocoding, but no routing, and I can't see that Yahoo does either.  Mapquest has a routing function in their API, but the function doesn't actually return any data, it simply adds the points and lines to an existing map image and dumps the data to the screen.  Besides, Mapquest's API sucks.

Any ideas?

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.