Jump to content

Google maps API


Mateobus

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.
Link to comment
https://forums.phpfreaks.com/topic/20650-google-maps-api/
Share on other sites

Archived

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

×
×
  • Create New...

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.