Offline regions for the whole world: the region list comes from Geofabrik's index (bin/geofabrik-regions-sync.mjs → geofabrik_regions.geojson, 193 countries plus subregions like the US states), keeping the European ISO codes; the picker folds it by continent with a search box and subregions under their country, flags for all of them
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-11-19 10:03:47 +01:00
1 parent df69886220
commit ff5924faf1
155 files changed
+5465 -113

No files matched your search

+8 -4
View File
@@ -83,9 +83,9 @@ Lipiridis), attribution required (this notice satisfies that):
|===
| Library | Version | Source
| flag-icons (just the square `1x1/` crop, only the 39 European
countries `lib/maptool/data/europe_countries.geojson` lists — see
`public/js/offline_data.js`)
| flag-icons (just the square `1x1/` crop, only the countries the
offline region picker lists — `lib/maptool/data/geofabrik_regions.geojson`,
see `bin/vendor-sync.mjs` and `public/js/offline_data.js`)
| `package.json`
| https://github.com/lipis/flag-icons
|===
@@ -146,7 +146,11 @@ commit only triggers the sync, which then saves whatever style
regeneration, or the manual recipe in `docs/development.adoc`) is
built at build time, not vendored, from
https://download.geofabrik.de[Geofabrik]'s per-country OpenStreetMap
extracts (ODbL).
extracts (ODbL). The region list itself,
`lib/maptool/data/geofabrik_regions.geojson` (names, paths and boundary
polygons), is vendored from Geofabrik's index
(`download.geofabrik.de/index-v1.json`, OpenStreetMap-derived, ODbL) by
`bin/geofabrik-regions-sync.mjs`.
`terrain.pmtiles` (same regeneration mechanism) is extracted at build
time, not vendored, from https://mapterhorn.com[Mapterhorn] — a