GeoModel class final
A base class for ArcGISMap and ArcGISScene that contains layers and properties and can be displayed in a GeoViewController.
This base class represents the model in a model-view-controller (MVC) architecture, while the GeoViewController represents the view. To display a map or scene to the user, pass GeoModel to its appropriate GeoViewController, as follows:
- Pass an ArcGISMap to an ArcGISMapViewController.
- Pass an ArcGISScene to a SceneView.
GeoModel has many properties that are common to both maps and scenes. For example:
- Each map or scene typically has a GeoModel.basemap to help orient the users.
- The GeoModel.operationalLayers collection gives you access to the vector data (points, line, polygons), raster data, and attribute information provided by the ArcGISMap or ArcGISScene.
- The GeoModel.spatialReference determines how spatial data relates to real-world space.
- Implemented types
- Mixed in types
- Implementers
Properties
- basemap ↔ Basemap?
-
The basemap for this map or scene.
getter/setter pair
-
bookmarks
→ List<
Bookmark> -
The collection of bookmarks defined for this map or scene.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialViewpoint ↔ Viewpoint?
-
The initial viewpoint when the map or scene is first displayed.
getter/setter pair
- item ↔ Item?
-
The ArcGIS item associated with this map or scene.
getter/setter pair
- loadError → ArcGISException?
-
The load error.
no setterinherited
- loadSettings ↔ LoadSettings
-
The properties that control the default loading and rendering behavior of
feature layers in this map or scene.
getter/setter pair
- loadStatus → LoadStatus
-
The load status.
no setterinherited
-
onBasemapChanged
→ Stream<
Basemap?> -
Callback invoked when the basemap changes.
no setter
-
onLoadStatusChanged
→ Stream<
LoadStatus> -
A stream that reports changes to the
LoadStatus
.no setterinherited -
operationalLayers
→ List<
Layer> -
A collection of layers that can access geographic data from a file or a
service.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spatialReference → SpatialReference?
-
The spatial reference for this map or scene.
no setter
-
tables
→ List<
FeatureTable> -
A collection of feature tables in the map or scene. Unlike
GeoModel.operationalLayers, tables are not displayed by the
GeoViewController.
no setter
-
transportationNetworks
→ List<
TransportationNetworkDataset> -
A collection of transportation network datasets defined for the map or
scene.
no setter
- version → String
-
The version of the ArcGISMap or
ArcGISScene when it is loaded.
The version of a newly created ArcGISMap or
ArcGISScene is empty.
no setter
Methods
-
cancelLoad(
) → void -
Cancels loading metadata for the object.
inherited
-
clone(
) → GeoModel - Clones this instance of GeoModel and its members.
-
load(
) → Future< void> -
Loads the metadata for the object asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retryLoad(
) → Future< void> -
Loads or retries loading metadata for the object asynchronously.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited