Offline-Karten: Welten-FAB Segment 5 + Download-Trigger (flag-gated)
offline-indicator.js: im GL-Offline-Modus (by_offline_tiles) prüft Segment 5 'Karten-Kacheln' jetzt eine gespeicherte Vektor-Region in IndexedDB (statt des OSM-Raster-Counts, den die GL-Karte nicht nutzt → war falsch-grün). 'Fehlende nachladen' (Segment 5) stößt im GL-Modus MapOffline.downloadAround(GPS, 5km) an. - _offlineRegionStored legt dasselbe IDB-Schema/Version an wie map-offline.js (sonst bricht ein versionsloses open() die Store-Erstellung) - UI.loadMapLibreUI exportiert (für den FAB-Download) Headless verifiziert: Flag an, keine Fehler; Segment 5 vor Download grau (0), nach Download grün (97 Tiles).
This commit is contained in:
parent
8f13f4d38d
commit
5337ddfa05
7 changed files with 67 additions and 18 deletions
|
|
@ -4,7 +4,7 @@
|
|||
============================================================ */
|
||||
|
||||
// ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab
|
||||
const VER = '1211';
|
||||
const VER = '1213';
|
||||
const CACHE_VERSION = `by-v${VER}`;
|
||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue