Class LayerCollection
A collection of layers
Inheritance
Esri.ArcGISRuntime.RuntimeCollection<Layer>
Esri.ArcGISRuntime.RuntimeObservableCollection<Layer>
LayerCollection
Implements
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class LayerCollection : RuntimeObservableCollection<Layer>, IList<Layer>, ICollection<Layer>, IList, ICollection, IReadOnlyList<Layer>, IReadOnlyCollection<Layer>, IEnumerable<Layer>, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged
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 - 200.0 |
.NET 6.0 | 100.13 - 200.0 |
.NET 6.0 Windows | 100.13 - 200.0 |
.NET 6.0 Android | 200 |
.NET 6.0 iOS | 200 |
.NET Framework | 100.0 - 200.0 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Android | 100.0 - 100.15 |
iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.0 |
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.