Hajk
Hajk copied to clipboard
Allow users to change the z-index of visible layers
Currently the z-index of layers in a map is controlled once for each map by admins through a setting in Admin UI.
However, it is not always possible to predict the best z-index for layers and the number of combinations is huge.
One possibility is to add another tab in the LayerSwitcher, called "Drawing order" or something similar. That tab would display all currently visible layers as a draggable list (or with up and down arrows – the exact UI implementation is to be discussed).
Good and interresting idea! It could also add the possibility to remove a specific visible layer. I sometimes find it really hard to find a already visible layer to turn it off. I usually end up using "Hide all active layers".
Maybe the tab could be called "Active Layers" or "Visible layers", with the ability to both change order and visibility/remove.
I'm just thinking out loud

First incarnation ready. I have some more ideas, such as toggling the visibility of active layers and controlling the opacity directly from the draw order view. Also, the zIndex value will be hidden (this is just a beta).
Further improvements:
Ah, even better: let's make use of the recently added possibility to set custom icons for each layer!