Hiking trails: the main checkbox loads the countries in view from zoom 10 (and those panned into), not all at once — together ~1 GB of GeoJSON the browser never finished; /api/hiking-trails also sends each country's bbox

This commit is contained in:
randy committed 2026-11-27 14:29:29 +01:00
1 parent 477f68f5b3
commit f0ff5f390f
5 files changed
+52 -20

No files matched your search

+2 -2
View File
@@ -255,8 +255,8 @@ export class OverlaysControl {
this._hillshade.setOfflineAvailable(available);
}
setHikingTrailsOfflineCountries(countries) {
this._hikingTrails.setOfflineCountries(countries);
setHikingTrailsOfflineCountries(countries, bboxes) {
this._hikingTrails.setOfflineCountries(countries, bboxes);
}
showHikingTrailsCountry(code) {