Hacker News new | ask | show | jobs
by BenSchaechter 5684 days ago
Actually, your location is determined automatically based off of your IP address. The map displays the majority votes for their respective regions.

I'll email you about the misspelling, though. Thanks.

1 comments

Ben, that interactive map that zooms in with all the counties in a state is pretty friggin nifty. Did you make that from scratch with a n ip-to-location data set, or use some kind of location API??
I built everything myself from scratch in regards to the maps. This includes all vector paths (you wouldn't believe how much work this is), JQuery & Raphael interaction. There is also some websockets goodness. 90% of everything is handled in the background then pushed to browsers via websockets (for browser which support them).

To get location I do a variety of things mostly based off of the IP address of a user. However, I've built up a lot of meta data around locations which I may release later on down the road. Happy to talk more if you want to email me.