Property OperationalLayers
OperationalLayers
Gets or sets the collection of operational layers that can access geographic data from a file or a service.
Declaration
public LayerCollection OperationalLayers { get; set; }
Property Value
Type | Description |
---|---|
LayerCollection | The collection of operational layers that can access geographic data from a file or a service. |
Remarks
The operational layers collection is used to display geographic data layers on top of a basemap layer in a Map or Scene. For example, you can display a fleet of vehicles being tracked on a map or display a point cloud layer of a tree canopy in a scene.
This collection of layers is unique to the map or scene, it cannot be used by another GeoModel. You can add and remove layers from the map or scene by adding and removing them from this collection. Ensure that the map has finished loading, otherwise you will replace the map's original operational layers with the newly added layers.
The first layer in the OperationalLayers collection is drawn first (on the bottom) above the basemap layer. Each subsequent layer is drawn on top. Typically, imagery or tile layers are added to the collection first, and then polygon, line, and point layers last. When you pass the GeoModel to the geo view it combines these layers to create the final display for the user.
See Data Layers) for more information about working with operational layers.
A Layer instance can only belong to one map or scene at a time. To reuse a layer, either Clone() it or remove it from its previous map or scene first.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 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.12 - 200.5 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |