Class: CapabilitiesUtil

CapabilitiesUtil()

new CapabilitiesUtil()

Helper Class to parse capabilities of WMS layers

Source:

Methods

(static) getLayersFromWmsCapabilties(capabilities, nameField) → {Array.<OlLayerTile>}

Parameters:
Name Type Default Description
capabilities Object

A capabilities object.

nameField String Name

Configure the field which should be set as the 'name' property in the openlayers layer.

Source:
Returns:

Array of OlLayerTile

Type
Array.<OlLayerTile>

(static) parseWmsCapabilities(capabilitiesUrl) → {Object}

Parameters:
Name Type Description
capabilitiesUrl String

Url to WMS capabilities document

Source:
Returns:

An object representing the WMS capabilities.

Type
Object