Namespace: GameEngine.Elevation.Base
Class: GameEngine/Elevation/Base/ArcGISElevationSource
Since: 1.0.0
Implements: ArcGISLoadable
Summary
Abstract base class for all ElevationSources.
Constructors
ArcGISElevationSource(string, ArcGISElevationSourceType, string)
Creates a new elevation source.
Since 1.0.0
Arguments
Name | Type | Summary |
---|---|---|
source | Elevation source. | |
type | ArcGISElevationSource type definition. | |
API | API key used to load data. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | Yes | API key will be sent with every request for ArcGIS location services and/or private content items. | ||
Yes | Yes | The full extent of this ArcGISElevationSource, which is the extent where all ArcGISElevationSource data is contained. | ||
No | No | Define if this elevation source is enabled or not. | ||
No | No | Identifier for elevation source. | ||
No | Yes | Source property is read-only, it will be set up on the constructor. | ||
Yes | Yes | The spatial reference of the elevation source. |
APIKey
string APIKey
API key will be sent with every request for ArcGIS location services and/or private content items.
Extent
ArcGISExtentRectangle Extent
The full extent of this ArcGISElevationSource, which is the extent where all ArcGISElevationSource data is contained.
You can use this to zoom to all of the data contained in this ArcGISElevationSource.
SpatialReference
ArcGISSpatialReference SpatialReference
The spatial reference of the elevation source.
ArcGISImageElevationSource ArcGISSpatialReference must match the ArcGISSpatialReference of the ArcGISMap. ArcGISImageElevationSource tiling scheme must be compatible with the tiling scheme of the ArcGISMap. If any of the above constraints are violated, an ArcGISElevationSourceViewState error is generated.