4 ms·
Thanks! It relies heavily on open source libraries and open map tile providers. A service worker handles caching of most of the application resources, while a
by jameal 4y ago
Thanks! It relies heavily on open source libraries and open map tile providers.
A service worker handles caching of most of the application resources, while a Leaflet plugin[1] handles the actual tiles. You can see it in action by loading it on your phone, switching to landscape mode and pressing the save icon () that appears. It will cache everything in view, for certain zoom levels (configurable). I believe the plugin saves to session storage.
[1]: https://allartk.github.io/leaflet.offline/ https://allartk.github.io/leaflet.offline/