3 ms·
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)
by FLUX-YOU 9y ago
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?
- Liquid_Fire 9y agoHow 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.
- boobsbr 9y agoI think OpenLayers did this a looooooong time ago.
- marcosdumay 9y agoGoogle maps did this a looooooong time ago.