new CapabilitiesUtil()
Helper Class to parse capabilities of WMS layers
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. |
Returns:
Array of OlLayerTile
- Type
- Array.<OlLayerTile>
(static) parseWmsCapabilities(capabilitiesUrl) → {Object}
Parameters:
Name | Type | Description |
---|---|---|
capabilitiesUrl |
String | Url to WMS capabilities document |
Returns:
An object representing the WMS capabilities.
- Type
- Object