Hey,
i just tried to add some actions to my layerlist widget. (increase/decrease opacity, zoom to extent)
In this example they called a special layer by name but i want to use this actions on each layer in my map.
Isn't there an easy way to define the selected Layer in the layerList widget?
I didn't find anything easy like "var layer = layerlist.selectedLayer"
Thank you