Class: WmsLayerCapabilities

WmsLayerCapabilities(layerElement, parentNode)

Represents a WMS layer description from a WMS Capabilities document. This object holds all the fields specified in the associated WMS Capabilities document.

Constructor

new WmsLayerCapabilities(layerElement, parentNode)

Constructs an WMS Layer instance from an XML DOM.
Parameters:
Name Type Description
layerElement Object A WMS Layer element describing the layer.
parentNode Object An object indicating the new layer object's parent object.
Source:
Throws:
If the specified layer element is null or undefined.
Type
ArgumentError

Members

(readonly) abstract :String

The abstract of this layer.
Type:
  • String
Source:

(readonly) attribution :Object

The attribution element associated with this layer description. The returned object has the following properties: title {String}, url {String}, logoUrl {{format, url}}.
Type:
  • Object
Source:

(readonly) authorityUrls :Array.<Object>

The authority URLs associated with this layer description, accumulated from this layer and its parent layers. The returned objects have the following properties: name {String}, url {String}.
Type:
  • Array.<Object>
Source:

(readonly) boundingBoxes :Object

The bounding boxes associated with this layer description. The returned object has properties for each of the defined attributes. For example, "minx".
Type:
  • Object
Source:

(readonly) capability :Object

The WMS capability section containing this layer description.
Type:
  • Object
Source:

(readonly) cascaded :Boolean

The WMS cascaded attribute.
Type:
  • Boolean
Source:

(readonly) crses :Array.<String>

The list of coordinate system descriptions associated with this layer, accumulated from this layer and its parent layers. WMS servers implementing WMS version 1.3.0 and above have this field.
Type:
  • Array.<String>
Source:

(readonly) dataUrls :Array.<Object>

The data URLs associated with this layer description. Each object in the returned array has the following properties: format, url.
Type:
  • Array.<Object>
Source:

(readonly) dimensions :Array.<String>

The list of dimensions associated with this layer description, accumulated from this layer and its parent layers. WMS servers implementing WMS version 1.3.0 and above provide this field.
Type:
  • Array.<String>
Source:

(readonly) extents :Array.<String>

The list of extents associated with this layer description, accumulated from this layer and its parent layers. WMS servers implementing WMS version 1.3.0 and above provide this field.
Type:
  • Array.<String>
Source:

(readonly) featureListUrls :Array.<Object>

The feature list URLs associated with this layer description. Each object in the returned array has the following properties: format, url.
Type:
  • Array.<Object>
Source:

(readonly) fixedHeight :Number

The WMS fixedHeight attribute.
Type:
  • Number
Source:

(readonly) fixedWidth :Number

The WMS fixedWidth attribute.
Type:
  • Number
Source:

(readonly) geographicBoundingBox :Object

This layer description's geographic bounding box. WMS servers implementing WMS 1.3.0 and above have this field. The returned object has properties for each of the WMS-specified fields. For example, "westBoundingLongitude".
Type:
  • Object
Source:

identifiers :Array.<Object>

The identifiers associated with this layer description. Each identifier has the following properties: authority, content.
Type:
  • Array.<Object>
Source:

(readonly) keywordList :Array.<String>

The list of keywords associated with this layer description.
Type:
  • Array.<String>
Source:

(readonly) latLonBoundingBox :Object

This layer description's geographic bounding box. WMS servers implementing WMS 1.1.1 and below have this field. The returned object has properties for each of the WMS-specified fields. For example, "maxx".
Type:
  • Object
Source:

(readonly) layers :Array.<WmsLayerCapabilities>

The layers that are children of this layer.
Type:
Source:

(readonly) maxScaleDenominator :Number

The maximum-scale-denominator associated with this layer description. WMS servers implementing WMS version 1.3.0 and above provide this field.
Type:
  • Number
Source:

(readonly) metadataUrls :Array.<Object>

The metadata URLs associated with this layer description. Each object in the returned array has the following properties: type, format, url.
Type:
  • Array.<Object>
Source:

(readonly) minScaleDenominator :Number

The minimum-scale-denominator associated with this layer description. WMS servers implementing WMS version 1.3.0 and above provide this field.
Type:
  • Number
Source:

(readonly) name :String

The name of this layer description.
Type:
  • String
Source:

(readonly) noSubsets :Boolean

The WMS noSubsets attribute.
Type:
  • Boolean
Source:

(readonly) opaque :Boolean

The WMS opaque attribute.
Type:
  • Boolean
Source:

(readonly) parent :Object

The parent object, as specified to the constructor of this object.
Type:
  • Object
Source:

(readonly) queryable :Boolean

The WMS queryable attribute.
Type:
  • Boolean
Source:

(readonly) scaleHint :Number

The scale hint associated with this layer description. WMS servers implementing WMS version 1.1.1 and below provide this field.
Type:
  • Number
Source:

(readonly) srses :Array.<String>

The list of coordinate system descriptions associated with this layer, accumulated from this layer and its parent layers. WMS servers implementing WMS version 1.1.1 and below have this field.
Type:
  • Array.<String>
Source:

(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>
Source:

(readonly) title :String

The title of this layer.
Type:
  • String
Source: