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
This commit is contained in:
21
docs/config/layers.md
Normal file
21
docs/config/layers.md
Normal file
@@ -0,0 +1,21 @@
|
||||
<!-- /docs/config/layers.md -->
|
||||
|
||||
# 🗺️ layers.js
|
||||
|
||||
Diese Datei definiert alle verfügbaren Leaflet-Layergruppen im Projekt.
|
||||
Sie werden global als `MAP_LAYERS` exportiert und enthalten alle Systemtypen (TALAS, GMA, OTDR etc.).
|
||||
|
||||
## Struktur
|
||||
|
||||
```js
|
||||
export const MAP_LAYERS = {
|
||||
TALAS: new L.layerGroup(),
|
||||
...
|
||||
lineLayer: new L.LayerGroup(),
|
||||
};
|
||||
```
|
||||
|
||||
## Verwendung
|
||||
|
||||
- Initialisierung der Leaflet-Karte
|
||||
- Zuweisung von Markern und Linien
|
||||
Reference in New Issue
Block a user