Class ArcGISMapImageSublayer
A sublayer of an ArcGIS map image layer.
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcGISMapImageSublayer : ArcGISSublayer, INotifyPropertyChanged, ILayerContent, IPopupSource, ILoadable
Remarks
ArcGISMapImageSublayer provides access to layers that comprise an ArcGISMapImageLayer.
Once the ArcGISMapImageLayer has loaded, you can obtain its sublayers from the
If one of the sublayers is a group layer (where the SublayerType is GroupLayer), it will also have a collection of sublayers. Use SublayerInfos to obtain the collection of sublayers. If one of these sublayers is a group layer it will also contain a collection of sublayers, and so on.
If you know the sublayer Id, you can create a it from the ArcGISMapImageSublayer(Int64) constructor.
Once you have obtained the sublayer, you can change the data that is displayed by the ArcGISMapImageLayer by setting the sublayer's visibility, layer definition expression, and other visual properties such as renderer and scale.
Constructors
Name | Description |
---|---|
ArcGISMapImageSublayer(Int64) | Initializes a new instance of the ArcGISMapImageSublayer class with the specified sublayer id. |
ArcGISMapImageSublayer(Int64, SublayerSource) | Initializes a new instance of the ArcGISMapImageSublayer class with the specified sublayer id and source. |
Properties
Name | Description |
---|---|
DefaultVisibility | Gets a value indicating whether gets this sublayer's default visibility. |
DefinitionExpression | Gets or sets the definition expression of this map image sublayer. |
LabelDefinitions | Gets a modifiable collection of label definitions for this sublayer. Only available if the ArcGISMapImageLayer supports dynamic capabilities. |
LabelsEnabled | Gets or sets a value indicating whether labels should be displayed on this sublayer. |
MaxScale | Gets or sets the maximum scale at which this sublayer is visible. |
MinScale | Gets or sets the minimum scale at which this sublayer is visible. |
Name | Gets or sets the name of the sublayer. |
Opacity | Gets or sets the opacity of this sublayer. |
Renderer | Gets or sets this sublayer's Renderer. |
ScaleSymbols | Gets or sets a value indicating whether this sublayer renders its symbols based on scale. |
Source | Gets the SublayerSource of this sublayer. |
Table | Gets the sublayer's feature table. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |