Class LayerCollection
A collection of layers
Inheritance
System.Object
LayerCollection
Implements
IEnumerable<Layer>
ICollection<Layer>
IEnumerable
IList
ICollection
IReadOnlyList<Layer>
IReadOnlyCollection<Layer>
INotifyPropertyChanged
INotifyCollectionChanged
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class LayerCollection : RuntimeObservableCollection<Layer>
Constructors
| Name | Description |
|---|---|
| LayerCollection() | Initializes a new instance of the LayerCollection class. |
Properties
| Name | Description |
|---|---|
| Item[String] | Gets a layer in the collection by its Id. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |
Relevant samples
Add an integrated mesh layer: View an integrated mesh layer from a scene service.
Add ENC exchange set: Display nautical charts per the ENC specification.
Add features: Add features to a feature layer.
Analyze hotspots: Use a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.