A sublayer of a Layer. More...
Import Statement: | import Esri.ArcGISRuntime |
Since: | Esri.ArcGISRuntime 100.2 |
Inherits: |
- List of all members, including inherited members
- WmsSublayer is part of QML Type List.
Properties
- autoFetchLegendInfos : bool
- canChangeVisibility : bool
- currentStyle : string
- legendInfos : LegendInfoListModel
- name : string
- showInLegend : bool
- subLayerContents : list<LayerContent>
- sublayerInfo : WmsLayerInfo
- visible : bool
Signals
Methods
- WmsSublayer clone()
- bool equals(WmsSublayer other)
- 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
autoFetchLegendInfos : bool |
Returns whether legend infos are automatically fetched by the sublayer.
See also LayerContent.
[read-only] 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.
[read-only] legendInfos : LegendInfoListModel |
Returns a list model containing legend infos for the sublayer and any nested sublayers (read-only).
See also LayerContent.
[read-only] 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.
[read-only] subLayerContents : list<LayerContent> |
Returns a list of layer contents for any sublayer (read-only).
See also LayerContent.
[read-only] 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
|
Emitted when the currentStyle property changes.
Note: The corresponding handler is onCurrentStyleChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.3.
Method Documentation
|
Creates a deep copy of this object.
This method was introduced in Esri.ArcGISRuntime 200.1.
|
Compares two WmsSublayers for equality.
Returns whether this instance and other are equivalent.
This method was introduced in Esri.ArcGISRuntime 200.1.
bool isVisibleAtScale(double scale) |
Returns true
if the sublayer is visible at a given scale.