WmsSublayer QML Type

A sublayer of a Layer. More...

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

LayerContent

Properties

Signals

Methods

Detailed Description

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

Some layer types contain sublayers. WmsSublayer provides data necessary for building a Table of Contents. Only named WMS sublayers have an associated WmsSublayer. This list can be obtained from WmsLayer::Sublayers() property of a loaded layer.

See also LayerContent.

Property Documentation

autoFetchLegendInfos : bool

Returns whether legend infos are automatically fetched by the sublayer.

See also LayerContent.


canChangeVisibility : bool

Returns whether the sublayer's visibility can be changed (read-only).

See also LayerContent.


currentStyle : string

Returns the sublayer's current style.

Set to an empty string to use the default style.


legendInfos : LegendInfoListModel

Returns a list model containing legend infos for the sublayer and any nested sublayers (read-only).

See also LayerContent.


name : string

Returns the sublayer's name (read-only).

See also LayerContent.


showInLegend : bool

Whether the sublayer will be shown in the legend.

See also LayerContent.


subLayerContents : list<LayerContent>

Returns a list of layer contents for any sublayer (read-only).

See also LayerContent.


sublayerInfo : WmsLayerInfo

Returns a WmsLayerInfo object with metadata about this sublayer. (read-only).


visible : bool

The visiblity of the subLayer.

See also LayerContent.


Signal Documentation

currentStyleChanged()

Emitted when the currentStyle property changes.

Note: The corresponding handler is onCurrentStyleChanged.

This signal was introduced in Esri.ArcGISRuntime 100.3.


Method Documentation

bool isVisibleAtScale(double scale)

Returns true if the sublayer is visible at a given scale.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.