WmsLayer

constructor(item: Item)

Creates a WMS layer from a portal item.

Since

200.1.0

Parameters

item

See also


constructor(layerInfos: Iterable<WmsLayerInfo>)

Creates a WmsLayer from the specified WmsLayerInfo objects.

Since

200.1.0

Parameters

layerInfos

A collection of WmsLayerInfo objects.

See also


constructor(url: String, layerNames: Iterable<String>)

Creates a WmsLayer with the specified URL and layer names. To specify a preferred WMS version, set the 'VERSION' parameter in the 'GetCapabilities' URL for the service.

Since

200.1.0

Parameters

url

The URL of a WMS service.

layerNames

A MutableList of the visible WMS layer names.

See also