OptionalattributesAdditional attributes for this layer. These can be arbitrary values.
OptionaldescriptionThe human-readable description of this layer. Defaults to an empty string.
OptionalhealthOptional property to check the availability of the layer. It is possible to provide either a URL which indicates the state of the service (2xx response meaning "ok") or a HealthCheckFunction performing a custom check and returning the state.
OptionalidThe unique id of this layer. Defaults to a generated id.
OptionalinternalLayers marked as internal are not considered by any UI widget (e.g. Toc or Legend). By default, layers are not included when retrieving all layers of a collection (see LayerRetrievalOptions.includeInternalLayers).
Defaults to false
OptionalisWhether this layer is a base layer or not. Only one base layer can be active at a time.
Defaults to false.
List of layers that belong to the new group layer.
The group layer takes ownership of the given layers: they will be destroyed when the parent is destroyed. A layer must have a unique parent: it can only be added to the map or a single group layer.
OptionalmaxOptional property to restrict the visibility of a layer to a maximum resolution (exclusive).
OptionalmaxOptional property to restrict the visibility of a layer to a maximum zoom level (exclusive).
OptionalminOptional property to restrict the visibility of a layer to a minimum resolution (inclusive).
OptionalminOptional property to restrict the visibility of a layer to a minimum zoom level (inclusive).
The human-readable title of this layer.
OptionalvisibleWhether this layer should initially be visible.
Defaults to true.
Configuration options to construct a GroupLayer.