react-map-components-maplibre
react-map-components-maplibre copied to clipboard
Feature/layerconfig store
Introduces new Layertree and Mapstore based on Redux instead of React Context. The LayerOrder and the Mapconfig/Layerconfig itself are separated now. See the new Layertree story for new usage.
not yet implemented:
- reorder layers with drag&drop instead of up/down button
- configure layers (e.g. change style) of type 'vt' or 'wms' layers. This is only implemented for 'geojson' layers at the moment.
- add layers to store in UI (see AddLayerButton story)