Class: ol.parser.ogc.WMSCapabilities

ol.parser.ogc.WMSCapabilities

new WMSCapabilities

Parameters:
Name Type Argument Description
options Object= <optional>
(Optional) Options which will be set on this object.
Source:
  • wmscapabilities.js, line 40

Extends

Methods

getParser

Parameters:
Name Type Description
version string the version to use.
Inherited From:
Source:
  • versioned.js, line 59
Returns:
the parser to use.
Type
Object

getVersion

Parameters:
Name Type Argument Description
root Element root element.
options Object= <optional>
(Optional) optional configuration object.
Inherited From:
Source:
  • versioned.js, line 35
Returns:
the version to use.
Type
string

read

Parameters:
Name Type Argument Description
data string | Document Data to read.
options Object= <optional>
(Optional) Options for the reader.
Inherited From:
Source:
  • versioned.js, line 105
Returns:
An object representing the document.
Type
Object

write

Write a document.
Parameters:
Name Type Argument Description
obj Object An object representing the document.
options Object= <optional>
(Optional) Optional configuration object.
Inherited From:
Source:
  • versioned.js, line 88
Returns:
the XML created.
Type
Element | string