Select to view content in your preferred language

Use layerviews instead of changing layer visibility, for the layerlist widget

801
0
04-30-2021 07:03 AM
Status: Open
Labels (2)
PatrikSjökvist
New Contributor II

Today the layerlist widget changing the layer attributes instead of the layerview attribute, for example the visibility or the opacity.

Also if you add a mapimage layer with sublayers, you don't get sublayerviews. (A GroupLayerView doesn't exists today)

The problem is when you have two views on the same map, and want to turn off/on a layer/sublayer, it will turn it off/on at both mapviews. But the layerlist is connected to a specific mapview.