Jump to content

Archived

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

Mateobus

Google maps API

Recommended Posts

I have several cities and states listed in a database.  I have recently recieved a google maps api key. I am interested in determining whether or not 2 cities are within approximately 200 miles of one another (so i would want between 200mi and 250mi).  I am actually interested in driving distance and the distance i would get would be the way the crow flies so i would have to check all of the distances in approximately this range.  I am good enough with php to extract the cities and states from my databases, but how do i plug into the api to get this info. Any code is helpful and very appreciated.

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.