LayerGroup
id: string
A string identifying the layer group.
name: string
The name of the layer group. This is shown in the legend.
caption: null | string
The caption of the layer group. This is shown in the legend.
layerIds: string[]
The ids of the layers in the layer group.
You can use these ids to get the full layer objects via the method.
visible: boolean
Whether the layer group is visible or not.
shownInLegend: boolean
Whether the layer group is shown in the legend or not.
bounds: null | [number, number, number, number]
The bounding box of the layer group in [west, south, east, north] order.