Class GeoModel
A base class for Map or Scene, which contain layers and additional properties and can be displayed in a GeoView.
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 GeoView represents the view. Map and Scene derive from GeoModel.
Properties
Name | Description |
---|---|
AllLayers | 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. |
FloorDefinition | Gets or sets the properties that allow a map or a scene to be floor-aware. |
FloorManager | Gets the object that manages the data displayed for a floor-aware map or scene, allowing the data to be filtered based on floor levels. |
GeotriggersInfo | Gets an object that presents information on the set of Geotrigger objects defined for the map or scene. |
InitialViewpoint | 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. |
LoadError | Gets the load error for this instance - if any. |
LoadSettings | Gets or sets the properties that control the default loading and rendering behavior of layers in this map or scene. |
LoadStatus | Gets the current load status of the map or scene. |
OperationalLayers | Gets or sets the collection of operational layers in the map or scene. |
SpatialReference | Gets the spatial reference for this map or scene. |
Tables | Gets the list of tables in the map or scene. |
TransportationNetworks | 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 opened. The version of a newly created Map or Scene is empty. |
Methods
Name | Description |
---|---|
CancelLoad() | Cancels an ongoing load. |
LoadAsync() | Initiates loading of the map or scene. |
RetryLoadAsync() | Retries the load operation in case of a load error. |
Events
Name | Description |
---|---|
Loaded | Occurs when this instance is loaded. |
LoadStatusChanged | Occurs when the instance's LoadStatus has changed. |
PropertyChanged | Occurs when a property value changes. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.12 - 100.15 |
.NET 5 | 100.12 |
.NET Core 3.1 | 100.12 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 100.15 |