You can search by zipcode with the AJAX Search API. If you have a street address, you can geocode it (i.e., get more precise). The trick will be calculating the distance between points. If you're using the GMaps API, you can use the data from the Search API to create GLatLngs and use the GLatLng .getDistance method. Or you can do some searches and find the actual formula used to calculate that and do it yourself.
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Feb 26, 2009, at 10:41 AM, joviyach wrote: > > I have a need to be able to search by zipcode. For example a user on > the site enters their information including zipcode and then other > users would search by zipcode to find users with x-amount of miles of > their zipcode. I have done a Google search for this and there are > thousands of hits, but I am looking for recommendations. I don't > necessarily have time/desire to reinvent the wheel for this part of > what I am doing. > > Has anyone done this, maybe even with the Google AJAX API? > > If you've found this somewhere else, are you happy with what you > decided on? > > Thanks, > > Jim > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
