How can I search based on distance with the Google Maps API?

Posted by Shamoon on Stack Overflow See other posts from Stack Overflow or by Shamoon
Published on 2010-03-17T20:16:04Z Indexed on 2010/03/17 20:31 UTC
Read the original article Hit count: 189

Filed under:
|
  1. So here's the issue... I have a field where users can type in their address (which will be GeoCoded via Google Maps API).
  2. I have several addresses of widgets in my database (saved as address.. again can easily be geocoded).

What I need is for the user to type in their address and for a list of my widgets to come up based on distance from their address. I have THOUSANDS of addresses for my widgets and users have an infinite number of addresses obviously.

Any ideas?

Thanks.

© Stack Overflow or respective owner

Related posts about google-maps

Related posts about php