Closed A-Behairi closed 4 weeks ago
There was some issue in the past where actually the layercontrol did influence the layers in the map, so just to rule that out, could you try these layers without layercontrol and see if it also happens @A-Behairi ?
The layercontrol was removed in the explained example, I think it's more related to the sorting and reversing of the layers in the map.
Nested layers inside group layers gets reversed sometimes. In my case this happened in eodash, to investigate this further I debugged
oldLayers
&newLayers
insideset layers
property.in the following image the map renders the layers in the right order
and the wrong order in this case:
although the layers passed have the same order