Rewrite map to show bedrijventereinnen
Rewrite of Map style layers, in order to show more complex style layers.
- Splitted up context layers and relevant data layers to separate components
- Array of style
layers
added toDataLayers.js
in order to draw more style layers on the map per data layer. - Adjusted legend to new format of datalayers
-
MapRelevantLayers
creates and draws all layers in the array. -
data/StyleLayers.js
even more generic.
To Do:
- Check for same layers in order to keep them on the map, and not remove.
- update instead of remove and add
- Switch to different Mapstyle (darkmode) is not working. The components
MapContextLayers
andMapRelevantLayers
are not re-rendered. Same causes not being able to add borders and postalcode areas again. - Check for nodata layers and inverted layers. Filters are not all working in
data/StyleLayers.js
It does:
- show all the layers correctly on the map.
- Shows the 3 industrial areas source
- Shows a nodata buildings layer with woonfuctie based colors.
Edited by Boris Arkenaar