Re:CSS Tube Map
by jaffathecake on Monday May 20, 2013 @10:07AM
(#5737754)
Canvas wouldn't graphically scale as nicely. You could argue that SVG would be more appropriate, but this solution works on the old Android 2 browser whereas SVG doesn't.
Re:CSS Tube Map
by ryalfalpha on Monday May 20, 2013 @10:22AM
(#5737821)
Could probably ensure it fits in the window nicely though, with zooming etc. Seeing only the North-West of London on screen without scrolling is not as useful. I'd imagine it's damn hard to use on a laptop without two direction scrolling. Functional over pretty, I vote :)
Re:CSS Tube Map
by techbubble on Monday May 20, 2013 @04:16PM
(#5739767)
I created a jQuery plugin to render subway maps using canvas a few years ago when I was getting into HTML5. Here's a demo http://kalyani.com/subwaymap and a detailed guide http://kalyani.com/2010/10/subway-map-visualization-jquery-p...
Codewise it's cute, but functionally wouldn't a canvas element make more sense than a couple of hundred list elements?