Skip To Content ArcGIS for Developers Sign In Dashboard

WmsLayerInfo QML Type

Represents metadata about an individual layer in a Web Map Service (WMS). More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.2
Inherits:

Object

Properties

Detailed Description

A list of available layer infos may be obtained from the service info of a loaded wms service.

Note: You cannot declare or create a component of this type in QML code.

Property Documentation

description : string

Returns the description of the WmsLayerInfo (read-only).


extent : Envelope

Returns the geographic extent this layer covers (read-only).


fixedImageHeight : int

Returns the fixed image height specified for this layer (in pixels) (read-only).

When present in WMS GetCapabilities response, a nonzero fixedHeight attribute indicates that the server is not able to produce a map of this layer at a height different from the indicated height.


fixedImageWidth : int

Returns the fixed image width specified for this layer (in pixels) (read-only).

When present in WMS GetCapabilities response, a nonzero fixedWidth attribute indicates that the server is not able to produce a map of this layer at a width different from the indicated width.


keywords : List<string>

Returns an unordered list of commonly used or formalized words or phrases used to describe the layer's dataset. May be empty. (read-only).


name : string

Returns the name of the service (read-only).


opaque : bool

Returns a value indicating whether the WMS layer's content should be considered "opaque" (read-only).

The WMS layer opaque property describes the layer's data content, not the picture format of the map response. A true value indicates map data are mostly or completely opaque. A false value indicates 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.


queryable : bool

Returns if the service is queryable (read-only).


spatialReferences : List<SpatialReference>

Returns Returns an unordered list of SpatialReferences listed for this WMS layer (read-only).

Spatial reference systems not supported by Runtime API are omitted. Spatial references with multiple well-known IDs (e.g. CRS:84 and EPSG:4326) are only listed once. May be empty.

Every named WMS layer is available in one or more spatial reference systems. The root WmsLayerInfo lists spatial references common to all sublayers. Sublayers inherit all spatial references from their parent layer, and may specify additional ones.

Only the spatial references specifically listed for this WMS layer are included in this list. To get a complete set of available spatial references for this WMS layer, combine this list with the spatial references for all parent layers. Some WMS services will list inherited spatial references on child layers, so duplicates should be ignored.

To use a specific spatial reference, add the WmsLayer to a Map with the desired SpatialReference prior to loading it.


styles : list<string>

Returns a list of supported styles (read-only).

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.


sublayerInfos : list<WmsLayerInfo>

Returns the sublayer infos (read-only).


title : string

Returns the title (read-only).



Feedback on this topic?