Fix: Leaflet "Map container is already initialized" error is now handled gracefully

- Fehler beim mehrfachen Initialisieren der Leaflet-Map wird nun abgefangen
- Anwendung zeigt keine störende Fehlermeldung mehr im Frontend
- Verbesserte Nutzererfahrung beim Laden und Aktualisieren der Karte
This commit is contained in:
ISA
2025-08-19 14:34:50 +02:00
parent bf5ee377a4
commit 418651a2af
6 changed files with 86 additions and 22 deletions

8
public/config.json Normal file
View File

@@ -0,0 +1,8 @@
{
"//info": "tileSources: 'local' für offline, 'osm' für online",
"tileSources": {
"local": "http://localhost/talas5/TileMap/mapTiles/{z}/{x}/{y}.png",
"osm": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
},
"active": "osm"
}