Show / Hide Table of Contents

Class GeoModel

A base class for Map or Scene, which contain layers and additional properties and can be displayed in a GeoView.

Inheritance
Object
GeoModel
Map
Scene
Implements
System.ComponentModel.INotifyPropertyChanged
ILoadable
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
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.

  • A Map is used with a MapView.
  • A Scene is used with a SceneView.

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

TargetVersions
.NET Standard 2.0100.12 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.12 - 100.15
.NET 5100.12
.NET Core 3.1100.12
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 100.15
In This Article
Back to top Copyright © 2022 Esri.