Readonly
layerTo provide changed-like-event, without touching the original layer. With source layer uid and free reason why/by/for it's emitted. Example: emit/listen to silently set layer opacity (as reason) without touching the real layer and having to listen to every layer individually.
Readonly
layerEvent to observe layer property change in this LayerGroup without the need of having the layer itself.
Add a single layer at the end of the layer group.
Ol layer.
id of the layer.
Remove all layers from the map and clear the layer group.
Emit an "affected" layer event.
Emits a "LayerPropertyChanged" and call a "changed" event on the matching OL layer.
Every source from layers having sources in the layer group.
The attribution of all visible layers.
the first visible layer, or null if none is visible.
Retrieve a layer currently in the layer group.
The matching layer or null.
the layer group of this instance.
Refresh the source of every layer with a source in the layer group.
Set one background layer as visible, all others as not visible.
LayerGroup specialized to manage background layers (mostly tiled layers). Each instance must have a unique name (The default name will be valid for the first group). The default position is 0.