OptionalattributesAdditional attributes for this layer. These can be arbitrary values.
OptionaldescriptionThe human-readable description of this layer. Defaults to an empty string.
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
OptionalnameThe name of the WMS sublayer in the service's capabilities. Not mandatory, e.g. for WMS group layer. See WMS spec.
OptionalsublayersConfiguration for nested sublayers.
The human-readable title of this layer.
OptionalvisibleWhether this layer should initially be visible.
Defaults to true.
Configuration options to construct the sublayers of a WMSLayer.