Offline-Karten: Prod-Freigabe — Flag-Default AN auf allen deployten Hosts
Geraetetests Runde 1+2 bestanden (Basemap, Marker, Giftkoeder/Lost, Funkloch-Lernen, Korridor, Coverage). Default analog by_map_gl: banyaro.app/.de AN, localhost AUS, localStorage/?tilesoffline uebersteuert.
This commit is contained in:
parent
c0561c14b2
commit
c18e24524a
2 changed files with 6 additions and 4 deletions
|
|
@ -34,14 +34,15 @@
|
|||
// Zentrale Feature-Flag-Helper (boot.js lädt vor allen Modulen)
|
||||
// ----------------------------------------------------------
|
||||
window.BY = window.BY || {};
|
||||
// Offline-Vektorkacheln (byt://): Staging-Default AN seit 2026-06-06, Production AUS
|
||||
// bis Freigabe; localStorage by_offline_tiles '1'/'0' bzw. ?tilesoffline übersteuert.
|
||||
// Offline-Vektorkacheln (byt://): Default AN auf allen deployten Hosts (Prod + Staging),
|
||||
// localhost bleibt AUS; localStorage by_offline_tiles '1'/'0' bzw. ?tilesoffline übersteuert.
|
||||
// Prod-Freigabe René 2026-06-07 (analog by_map_gl, Gerätetests Runde 1+2 bestanden).
|
||||
window.BY.offlineTiles = function () {
|
||||
try {
|
||||
var flag = localStorage.getItem('by_offline_tiles');
|
||||
if (flag === '1') return true;
|
||||
if (flag === '0') return false;
|
||||
return location.hostname === 'staging.banyaro.app';
|
||||
return /(^|\.)banyaro\.(app|de)$/.test(location.hostname);
|
||||
} catch (e) { return false; }
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# Offline-Karten (GL/Vektor) — Feature-Plan
|
||||
|
||||
**Status:** Runde 2 (adaptives Modell) umgesetzt — **Staging-Default AN**; Production AUS bis Freigabe.
|
||||
**Status:** LIVE auf Production + Staging (Default AN auf banyaro.app/.de, Prod-Freigabe René 2026-06-07
|
||||
nach bestandenen Gerätetests Runde 1+2). localhost = Leaflet/AUS.
|
||||
**Stand:** 2026-06-07. Autor: René + Claude (Design).
|
||||
|
||||
## Umsetzungsstand (2026-06-06, v1222 auf Staging)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue