Files
nodeMap/docs/config/README.md
ISA 257341475c docs(config): Markdown-Dokumentation für zentrale Konfigurationsdateien erstellt
- Dokumentationen für:
  - appVersion.js → appVersion.md
  - layers.js → layers.md
  - paths.js → paths.md
  - urls.js → urls.md
- Übersicht in README.md mit internen Links ergänzt
- Erklärt dynamische URL-Logik, Layer-Setup und Basispfadstruktur
2025-05-27 15:20:07 +02:00

39 lines
953 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- /docs/config/README.md -->
# ⚙️ Konfigurationsübersicht (/config)
Dieses Verzeichnis enthält zentrale Konfigurationsdateien, die das Verhalten der gesamten App steuern.
Hier sind die wichtigsten Dateien, ihre Aufgaben und Verlinkungen zur Dokumentation:
---
## 📦 [`appVersion.js`](./appVersion.md)
- Definiert die aktuelle Version der App (`APP_VERSION`)
- Wird z.B. im `VersionInfoModal` angezeigt
---
## 🗺️ [`layers.js`](./layers.md)
- Enthält alle Leaflet-Layergruppen für die Kartenanzeige
- Zentrale Steuerung der aktiven Layer: TALAS, GMA, Cisco, etc.
---
## 📁 [`paths.js`](./paths.md)
- Berechnet den Basis-Pfad aus `.env.local`
- Liefert `BASE_URL`, z.B. `/talas5`
---
## 🌐 [`urls.js`](./urls.md)
- Erzeugt dynamisch API- und Tile-URLs
- Verwendet `window.location.origin` → keine statischen Ports notwendig
---
Diese Konfiguration macht das Projekt flexibel für mehrere Hosting-Umgebungen.