Class GeoModel
A base class for Map or Scene,
which contain layers and additional properties and can be displayed in a Geo
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class GeoModel : INotifyPropertyChanged, ILoadable
Remarks
The base class GeoModel represents the model in a model-view-controller (MVC) architecture,
while Geo
Geo
- Each map or scene typically has a Basemap to help orient the users.
-
The Operational
Layers collection gives you access to the vector data (points, line, polygons), raster data, and attribute information provided by the Map or Scene. -
The Spatial
Reference determines how spatial data relates to real-world space.
Properties
Name | Description |
---|---|
All |
Gets all layers in the order they are rendered (bottom-most first). |
Basemap | Gets or sets the basemap for this map or scene. |
Bookmarks | Gets the collection of bookmarks defined for this map or scene. |
Floor |
Gets or sets the properties that allow a map or a scene to be floor-aware. |
Floor |
Gets the object that manages the data displayed for a floor-aware map or scene, allowing filtering based on floor levels. |
Geotriggers |
Gets an object that presents information about the set of Geotrigger objects defined for the map or scene. |
Initial |
Gets or sets the initial viewing state when the map or scene is first displayed. |
Item | Gets the ArcGIS Item associated with this map or scene. |
Load |
Gets the load error for this instance - if any. |
Load |
Gets or sets the properties that control the default loading and rendering behavior of layers in this map or scene. |
Load |
Gets the current load status of the map or scene. |
Operational |
Gets or sets the collection of operational layers that can access geographic data from a file or a service. |
Spatial |
Gets the spatial reference for this map or scene. |
Tables | Gets the list of tables in the map or scene. Unlike
Operational |
Transportation |
Gets the collection of transportation network datasets defined for this map or scene. |
Version | Gets the version of the Map or Scene, read when it is loaded. The version of a newly created Map or Scene is empty. |
Methods
Name | Description |
---|---|
Cancel |
Cancels an ongoing load. |
Load |
Initiates loading of the map or scene. |
Retry |
Retries the load operation in case of a load error. |
Events
Name | Description |
---|---|
Loaded | Occurs when this instance is loaded. |
Load |
Occurs when the instance's Load |
Property |
Occurs when a property value changes. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 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.12 - 200.6 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.6 |