Offline Maps — In Your Browser, No Internet
This renders real OpenStreetMap data from a single .pmtiles file, drawn live in your browser — no map server, no tiles to download per view, no internet. It runs on a Raspberry Pi or any minimal static host. Prototype region: Northern England & Yorkshire (Liverpool, Manchester, Leeds, Sheffield, York, Hull, Newcastle, the Dales, Moors and Lake District).
No map file loaded
The map data file maps/ne-england.pmtiles wasn't found, or this page was opened directly from a file (maps need a server that supports range requests).
Serve the folder over HTTP — even the simplest works:python3 -m http.server then open http://localhost:8000/maps.html.
To add this or any other region, run sh extract-map.sh (see the Expansion Library).
.pmtiles file you drop in the maps/ folder.
Add more regions
Run sh extract-map.sh "Region Name" minLon minLat maxLon maxLat [maxzoom] to carve any area of the world out of the global map into its own small file. Example — Greater London:
sh extract-map.sh london -0.55 51.25 0.30 51.70 14
Map data © OpenStreetMap contributors (ODbL). Rendered with Leaflet + protomaps-leaflet, both bundled — nothing is fetched from the internet.