Geoportail-Luxembourg / geoportailv3

geoportailv3 is the implementation of the v3 of the map viewer of the luxembourgish geoportal
MIT License
25 stars 16 forks source link

Layer "tagging" in layer manager #3170

Open PitWenkin opened 1 month ago

PitWenkin commented 1 month ago

In order to differentiate between official layer and custom ones, would it be possible to add a class, or data-attribute, or … to the li's in https://github.com/Geoportail-Luxembourg/geoportailv3/blob/6ab881f9a4b6c7db0fbfe049a624a4ff957fd582/geoportal/jsapi/src/layermanager.js#L51 Something like Screenshot 2024-07-15 at 10 52 43

This would allow developers to apply custom/different styles to the different sources