News for hackers. Stuff that matters.
Re:Ask HN: Review my web app, AreaTeams by pedalpete on Tuesday September 22, 2009 @08:04PM (#838291)
USE google.loader.ClientLocation; to sniff out the current location of the site visitor. I'm in California and you're showing me NYC. Not super effective.

Also (as frossie alluded to) you need an input to allow searching by location. Don't worry about zip code vs city, etc. Pass the data from the search box to the google api and it will do the rest.

Re:Ask HN: Review my web app, AreaTeams by mshafrir on Tuesday September 22, 2009 @08:17PM (#838311)
I'm using server side lookup based on ip and falling back to google client location, but you're right on that I should just be using google client location. Definitel gives more accurate results.
Re:Ask HN: Review my web app, AreaTeams by pedalpete on Wednesday September 23, 2009 @12:23AM (#838597)
Oh, whatever you use, just use it. It didn't get my location, but placed me in nyc, so I assumed you weren't doing an ip lookup.