Methods
(static) createLayerFromCapabilities(capabilities) → {Array}
Creates layers from GetCapabilitites responses
Parameters:
Name | Type | Description |
---|---|---|
capabilities |
Array | responses from the ogccapabilities tool requests |
- Source:
Returns:
List with layer objects
- Type
- Array
(static) getCapabilities(parserUrl, serviceUrl, type) → {object}
Creates WMSLayers from a URL and parses the GetCapabilitites
Parameters:
Name | Type | Description |
---|---|---|
parserUrl |
string | |
serviceUrl |
string | |
type |
string | (optional) |
- Source:
Returns:
object with layers and structure
- Type
- object
(static) loadCapabilities(parserUrl, serviceUrl, type) → {object}
Get the response of the ogccapabilities tool
Parameters:
Name | Type | Description |
---|---|---|
parserUrl |
string | |
serviceUrl |
string | |
type |
string | (optional) |
- Source:
Returns:
json response
- Type
- object