user3059217
user3059217

Reputation: 591

How to download map tiles for Leaflet?

I understand that this is a basic question; however, I've spent hours googling and have yet to find an answer that works.

I have a javascript webapp that uses Leaflet to display a map. I can get it to work when the tile source URL is some online repository like mapbox, but I want my application to work offline. How/where can I download tiles and save them in a folder structure that I can then set the tile source URL to point to?

Thanks

Upvotes: 4

Views: 5806

Answers (1)

filimonic
filimonic

Reputation: 4644

You can generate tiles by yourself using same engine as OSM's : Mapnik and OSM database.

Upvotes: 0

Related Questions