Jump to content


Photo

Google maps API


  • Please log in to reply
No replies to this topic

#1 Mateobus

Mateobus
  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts

Posted 13 September 2006 - 07:30 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users