News for hackers. Stuff that matters.
Re:A day without JavaScript by oneeyedpigeon on Wednesday June 07, 2017 @09:20AM (#14506143)
There should be something as a fallback, though, surely? Take out all the functionality, by all means, but at least give me a map image. If you can't even get link-to-zoom working to display different images, just give me a map image based on my IP location; give me anything rather than nothing.
Re:A day without JavaScript by cmg on Wednesday June 07, 2017 @09:36AM (#14506297)
Even if you could just put in two addresses and get directions, that would be better than nothing.
Re:A day without JavaScript by perilunar on Thursday June 08, 2017 @03:57AM (#14512643)
Remember the HTML map tag? [1]. There is a huge amount they could do to make maps usable without JS (or even CSS). Zooming and panning would be pretty easy to implement, but would involve reloading the page with new coords.

1. https://developer.mozilla.org/en/docs/Web/HTML/Element/map

Re:A day without JavaScript by FLUX-YOU on Wednesday June 07, 2017 @09:33AM (#14506262)
Can you do lazy loading with just HTML and CSS? You can load the map around the GPS coordinates you start on, but what if you go 20 miles north? How do you: A) figure out what are the new GPS coordinates that your viewport is looking at? And B) load the map within the viewport centered around the new GPS coordinates that you're looking at without ajax?
Re:A day without JavaScript by Liquid_Fire on Wednesday June 07, 2017 @10:33AM (#14506730)
How would you "go 20 miles north" without JavaScript? The only sensible way would be by clicking a link, at which point you can load your new tiles.
Re:A day without JavaScript by boobsbr on Wednesday June 07, 2017 @11:24AM (#14507174)
I think OpenLayers did this a looooooong time ago.
Re:A day without JavaScript by marcosdumay on Wednesday June 07, 2017 @01:42PM (#14508335)
Google maps did this a looooooong time ago.
Re:A day without JavaScript by euske on Wednesday June 07, 2017 @09:00PM (#14511113)
They did provide a fallback, old MapQuest-like UI without JS until a few years ago. Then they stopped, possibly because of the lack of users.