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.
The name of the tile matrix set in the service's capabilities.
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 name of the WMTS layer in the service's capabilities.
OptionalsourceAdditional source options for the layer's WMTS source.
NOTE: These options are intended for advanced configuration: the WMTS Layer manages some of the OpenLayers source options itself.
The human-readable title of this layer.
URL of the WMTS service.
OptionalvisibleWhether this layer should initially be visible.
Defaults to true.
Configuration options supported by WMTSLayer.