Static
getReturns the Capabilities URL for the given layer.
The layer to the get the Capabilities URL for.
The Capabilities URL.
Static
getReturns the layers from a parsed WMS GetCapabilities object.
A capabilities object.
Configure the field which should be set as the 'name' property in the openlayers layer.
Optional
proxyFn: (proxyUrl: string) => stringOptional proxy function which can be applied to
GetMap
, GetFeatureInfo
and GetLegendGraphic
requests to avoid CORS issues.
Array of OlLayerImage
Static
getFetches and parses the WMS Capabilities document for the given URL.
Url to WMS capabilities document.
Optional fetch options to make use of while requesting the Capabilities.
An object representing the WMS capabilities.
Static
getFetches and parses the WMS Capabilities document for the given layer.
The layer to the get the Capabilites for.
Optional fetch options to make use of while requesting the Capabilities.
An object representing the WMS capabilities.
Helper class to parse capabilities of WMS layers
CapabilitiesUtil