Hacker News new | ask | show | jobs
by csouth 5684 days ago
I'm guessing the map is for me to put in my location. If so, 2 things. 1 the area I live in is labeled wrong (email me and I'll point you to it if you want to fix it), also when I hit take another poll it takes me out to country level, it should stay.
1 comments

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.

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.