Files
nodeMap/docs/redux/slices/mapLayersSlice.md

32 lines
489 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/redux/slices/ui/mapLayersSlice.md -->
# 🗺️ mapLayersSlice.js
Verwaltet die Sichtbarkeit einzelner Layergruppen (z.B. GMA, ECI, Siemens).
## Zustand
```js
{
TALAS: true,
ECI: true,
ULAF: true,
...
}
```
## Aktionen
- `toggleLayer(layer)`: Sichtbarkeit toggeln
- `setLayerVisibility({ layer, visibility })`: Sichtbarkeit explizit setzen
## Selector
```js
selectMapLayersState = state => state.mapLayers;
```
---
[Zurück zur Übersicht](../../README.md)