A sublayer of a Layer. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.2 |
Inherits: |
Properties
- autoFetchLegendInfos : bool
- canChangeVisibility : bool
- currentStyle : string
- legendInfos : LegendInfoListModel
- name : string
- showInLegend : bool
- subLayerContents : list<LayerContent>
- sublayerInfo : WmsLayerInfo
- visible : bool
Signals
Methods
- bool isVisibleAtScale(double scale)
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
Returns whether legend infos are automatically fetched by the sublayer.
See also LayerContent.
Returns whether the sublayer's visibility can be changed (read-only).
See also LayerContent.
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.
Returns the sublayer's name (read-only).
See also LayerContent.
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).
The visiblity of the subLayer.
See also LayerContent.
Signal Documentation
Emitted when the currentStyle property changes.
Note: The corresponding handler is onCurrentStyleChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.3.