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
The human-readable title of this layer.
OptionalvisibleWhether this layer should initially be visible.
Defaults to true.
Configuration options supported by all layer types (layers and sublayers).