Karte refresh(): _scheduleOsmLoad() aufrufen — OSM-Marker nach Seitenwechsel ohne Pan, SW by-v335

This commit is contained in:
rene 2026-04-24 11:19:40 +02:00
parent 005552042d
commit 988cffcbd4
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '321'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '322'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const App = (() => {

View file

@ -157,8 +157,8 @@ window.Page_map = (() => {
function refresh() {
// Leaflet kennt die Container-Größe nach Seitenwechsel nicht — neu berechnen
setTimeout(() => _map?.invalidateSize(), 100);
setTimeout(() => _map?.invalidateSize(), 500);
setTimeout(() => { _map?.invalidateSize(); _scheduleOsmLoad(); }, 150);
setTimeout(() => _map?.invalidateSize(), 600);
_loadAll();
}
function onDogChange() {}

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v334';
const CACHE_VERSION = 'by-v335';
const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten