News for hackers. Stuff that matters.
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.