Property Sublayers
Sublayers
Gets a list of sublayers of this map image layer.
Declaration
public IList<ArcGISSublayer> Sublayers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ArcGISSublayer> | A list of sublayers of this map image layer. |
Remarks
Normally Sublayers is empty until the ArcGISMapImageLayer is loaded, and the list is read-only afterwards. However if the current MapService supports dynamic layers, then this list can be modified at any time. If dynamic sublayers are added to this list before the layer loads, they will be used instead of the default MapServer specified sublayers. The collection is specific to a layer so you can't reuse a sublayer collection coming from another ArcGISMapImageLayer or ArcGISSublayer. You have to create a new layer collection.
See Also
Applies to
Platforms and versions
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 |
Relevant samples
Change sublayer renderer: Apply a renderer to a sublayer.
Identify layers: Identify features in all layers in a map. MapView supports identifying features across multiple layers. Because some layer types have sublayers, the sample recursively counts results for sublayers within each layer.