allartk / leaflet.offline

Leaflet offline layer
https://allartk.github.io/leaflet.offline/
GNU Lesser General Public License v3.0
288 stars 72 forks source link

Option to generate cache in advance #356

Closed piranna closed 3 months ago

piranna commented 3 months ago

Add an option to generate the cache in advance (ideally a Node.js cli tool), so later in can be imported on the clients. My idea is to get the map tiles and have them ready, so later the clients can import this package and we ready to navegate offline.

allartk commented 3 months ago

Thanks for the suggestion. You're welcome to contribute

piranna commented 3 months ago

Well, the fact is that It would need a refactor, exporting some internal references, so somebody with more knowledhe of the codebase could do It better.