7 ms·
For those interested in these for other subways around the world, http://stations.albertguillaumes.cat/ http://stations.albertguillaumes.cat/ has done a lovely
by azaslavsky 2y ago
For those interested in these for other subways around the world, http://stations.albertguillaumes.cat/ http://stations.albertguillaumes.cat/ has done a lovely job rendering them. It's impressive how many systems are covered.
- Anduia 2y agoThe drawings are nice, but like other SPAs, it is useless as a resource because it does not use bookmarkable URLs
- xenic 2y agoThis isn’t something inherent to SPAs, though sadly many (most?) do omit the history api and don’t provide usable URLs nor back/forward navigation.
- pimlottc 2y agoIt's somewhat inherent, as the URL will not change by default and it generally takes an intentional to implement sharable URLs.
- throw10920 2y ago"Somewhat inherent" isn't meaningful or correct. The fact is that there is a history API and you can use it to implement history for SPAs. Therefore, lack of history is not inherent to SPAs by definition. Intentionality has nothing to do with it.
- globular-toast 2y agoI find it bizarre how such a site ended up an SPA. Nothing about it suggests SPA. This could just be a website and would be supported by any web browser, but instead they've implemented a crap custom browser and web in JavaScript.
- n2d4 2y agoThe map kind of does. It's really nice to just click on different dots and see different cities with no latency or page load. I think the right way to implement this is as an SPA with `history.push` for shareable URLs.
- globular-toast 2y agoThat could easily be done with htmx. No need for an SPA.
- n2d4 2y agoNot without latency. Unless you make sure everything's on the edge? But that is way more complicated anyways — now you have two systems to maintain, instead of just a single client-only JS app.
- gennarro 2y agoAnd I can’t zoom on my phone??
- n2d4 2y agoSeems to work for parent's link on my iPhone (but not OP's link)
- veunes 2y agoThe quality of the renderings is impressive
- aikinai 2y agoHow is there nothing for Japan!? Too complicated?