Constructor
new WmtsLayerCapabilities(layerElement, capabilities)
Constructs an WMTS Layer instance from an XML DOM.
Parameters:
Name | Type | Description |
---|---|---|
layerElement |
Object | A WMTS Layer element describing the layer. |
capabilities |
Object | The WMTS capabilities documented containing this layer. |
- Source:
Throws:
-
If the specified layer element is null or undefined.
- Type
- ArgumentError
Members
(readonly) abstract :Array.<String>
The abstracts of this layer.
Type:
- Array.<String>
- Source:
(readonly) boundingBox :Array.<Object>
The bounding boxes associated with this layer. The returned array contains objects with the following
properties: TODO
Type:
- Array.<Object>
- Source:
(readonly) capabilities :Object
This layer's WMTS capabilities document, as specified to the constructor of this object.
Type:
- Object
- Source:
(readonly) dimension :Array.<Object>
The dimensions associated with this layer. The returned array contains objects with the following
properties:
Type:
- Array.<Object>
(readonly) formats :Array.<String>
The formats supported by this layer.
Type:
- Array.<String>
(readonly) identifier :String
The identifier of this layer description.
Type:
- String
- Source:
(readonly) infoFormat :Array.<String>
The Feature Info formats supported by this layer.
Type:
- Array.<String>
(readonly) keywords :Array.<String>
The list of keywords associated with this layer description.
Type:
- Array.<String>
- Source:
(readonly) metadata :Array.<Object>
The metadata associated with this layer description. Each object in the returned array has the
following properties: type, format, url.
Type:
- Array.<Object>
(readonly) resourceUrl :Array.<Object>
The resource URLs associated with this layer description. Each object in the returned array has the
following properties: format, url.
Type:
- Array.<Object>
(readonly) styles :Array.<Object>
The list of styles associated with this layer description, accumulated from this layer and its parent
layers. Each object returned may have the following properties: name {String}, title {String},
abstract {String}, legendUrls {Object[]}, styleSheetUrl, styleUrl. Legend urls may have the following
properties: width, height, format, url. Style sheet urls and style urls have the following properties:
format, url.
Type:
- Array.<Object>
(readonly) tileMatrixSetLink :Array.<Object>
The tile matris sets associated with this layer.
Type:
- Array.<Object>
(readonly) title :Array.<String>
The titles of this layer.
Type:
- Array.<String>
- Source:
(readonly) wgs84BoundingBox :Object
The WGS84 bounding box associated with this layer. The returned object has the following properties:
"lowerCorner", "upperCorner".
Type:
- Object
- Source:
Methods
getLayerSupportedTileMatrixSets() → {Array}
Provides an array of the TileMatrixSet objects supported by this layer.
Returns:
- Type
- Array