Class LayerCollection
A collection of layers
Inheritance
System.Object
Esri.ArcGISRuntime.RuntimeCollection<Layer>
Esri.ArcGISRuntime.RuntimeObservableCollection<Layer>
LayerCollection
Implements
System.Collections.Generic.IList<Layer>
System.Collections.Generic.ICollection<Layer>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<Layer>
System.Collections.Generic.IReadOnlyCollection<Layer>
System.Collections.Generic.IEnumerable<Layer>
System.Collections.IEnumerable
System.ComponentModel.INotifyPropertyChanged
System.Collections.Specialized.INotifyCollectionChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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. |
Methods
Name | Description |
---|---|
ClearItems() | |
RemoveItem(Int32) |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
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.
Create, delete, and update features: Add, delete, and update features (geometry and attributes) in a feature layer.
Analyze hotspots: Use a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.