4 ms·
This reminded me of a little suggestion by Bret Victor (http://worrydream.com/MagicInk/#reducing_interaction http://worrydream.com/MagicInk/#reducing_interactio
by couchand 12y ago
This reminded me of a little suggestion by Bret Victor (http://worrydream.com/MagicInk/#reducing_interaction http://worrydream.com/MagicInk/#reducing_interaction).
Imagine honing in on familiar areas simply by typing the first few digits of a zip code—type “9” to immediately zoom into the US west coast, followed by “4” to zoom into the SF bay area and then “5” for the east bay. Because of the immediate feedback, the user can stop typing when she gets close enough, and use relative navigation from there.
I coded up an example a little while ago (http://andrewcou.ch/zip-to-it/ http://andrewcou.ch/zip-to-it/).
- ericfrederich 12y agoAre you keeping stats on your request? I'm curious how high 90210 stands out.
- couchand 12y agoThat's a great idea. (Un)fortunately it's all client-side.
- sudont 12y agoGuessing you could probably put everything into a redis instance and just hincrby/incr for either the individual queries ie "902", "9021", "90210." Not sure what would be more performant, REST or a websocket. Not doing anything would be the fastest, though! http://redis.io/commands/HINCRBY http://redis.io/commands/HINCRBY
- syntern 12y agoA Google Analytics tracking of the events would be just fine for this goal.
- couchand 12y agoOh, great idea! I've never dived (dove??) into event tracking. Is something like this what I want? ga('send', 'event', 'input', 'search', 'zip', zipCode);
- timboslice 12y agoThat will do the trick!
- georgemcbay 12y agoThis is really cool, but ultimately not that practical because it doesn't display the zipcode boundaries. If it were integrated with zipcode boundary information as this [ http://www.usnaviguide.com/zip.htm http://www.usnaviguide.com/zip.htm ] site does with google maps, it would be pretty awesome.
- couchand 12y agoInteresting idea. I didn't really try too hard making it a complete product, since I was only interested in proving the navigation concept that Bret Victor had described. But that's a good idea, and if you're interested feel free to fork it and add that capability!
- sejje 12y agoI think this zooms in too far on the last level. Very nice, though!
- couchand 12y agoI had the same concern when I built it, but the data source I was using only provides centroid information, not boundaries. I thought for a while trying to come up with a solution and ended up ignoring it, since I was mainly interested in a proof of concept. If you'd like to fork it and improve you're more than welcome to!
- harpastum 12y agoAnother example of the same zip code interaction idea, with some pretty UI: http://benfry.com/zipdecode/ http://benfry.com/zipdecode/