OpenLayers. Format. WMSCapabilities

Read WMS Capabilities.

Inherits from

Summary
OpenLayers. Format. WMSCapabilitiesRead WMS Capabilities.
Properties
defaultVersion{String} Version number to assume if none found.
version{String} Specify a version string if one is known.
Constructor
OpenLayers. Format. WMSCapabilitiesCreate a new parser for WMS capabilities.
Functions
readRead capabilities data from a string, and return a list of layers.

Properties

defaultVersion

{String} Version number to assume if none found.  Default is “1.1.1”.

version

{String} Specify a version string if one is known.

Constructor

OpenLayers. Format. WMSCapabilities

Create a new parser for WMS capabilities.

Parameters

options{Object} An optional object whose properties will be set on this instance.

Functions

read

read: function(data)

Read capabilities data from a string, and return a list of layers.

Parameters

data{String} or {DOMElement} data to read/parse.

Returns

{Array} List of named layers.

read: function(data)
Read capabilities data from a string, and return a list of layers.
Read and write XML.
Close