Wms Layer Info
Metadata about an individual Web Map Service (WMS) layer within a WMS service. You can obtain a WmsLayerInfo from the WmsServiceInfo.layerInfos collection of a loaded WmsService.
Since
200.1.0
Properties
A brief narrative description (abstract) of this WMS layer.
The height of map images the service is capable of producing (in pixels). If the value is nonzero, this indicates that the server can only produce map images at the fixed height. If the value is zero, the server can produce maps of arbitrary dimensions.
The width of map images the service is capable of producing (in pixels). If the value is nonzero, this indicates that the server can only produce map images at the fixed width. If the value is zero, the server can produce maps of arbitrary dimensions.
The layer's uniquely-identifying name. A WMS layer can be displayed if it has a name. If the WMS layer has a name, its sublayers (WmsLayerInfo.sublayerInfos) are displayed if the WMS layer is displayed. If the WMS layer does not have a name but has a title, it is just a category for other sublayers.
True if the WmsLayer content should be considered opaque, false otherwise. The WMS layer's opaque property describes the layer's data content, not the picture format of the map response. A true value indicates that the map data are mostly or completely opaque. A false value indicates that the map data represent vector features that probably do not completely fill space. In practice, a layer with opaque set to true is a good candidate for use as a basemap.
An unordered collection of spatial references supported by the layer. Spatial reference systems not supported by this API are omitted. Spatial references with multiple well-known IDs, such as CRS:84 and EPSG:4326, may appear multiple times. The collection may be empty.
A collection of WMS styles that can be applied to this layer. Styles are server-defined options for how the layer and its information are displayed. Note that the order of styles returned does not indicate which style is the default. Styles can be applied using WmsSublayer.currentStyle.
The collection of sublayers of the WMSLayer. The WMS sublayer infos are returned in a MutableList containing WmsLayerInfo types.