Assembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public double GetSurfaceElevation( Point point ) |
Visual Basic (Declaration) |
---|
Public Function GetSurfaceElevation ( _ point As Point _ ) As Double |
Parameters
- point
- Type: ESRI.ArcGISExplorer.Geometry..::.Point
The Point at which the surface elevation value will be retrieved.
Return Value
The elevation at the specified location, in meters; in 2D display mode returns NaN.Remarks
This method will only return a valid number in 3D display mode, as the value returned is supplied by the elevation layer in a map or basemap in 3D display mode. If the display mode is 2D, no exception will be thrown but the return value will be NaN. Elevation layers reference either an ArcGIS Server Globe Service or a raster elevation layer.
ArcGIS Explorer comes preconfigured with basemaps for ArcGIS Online and Bing map services and these basemaps also contain an elevation layer which reference the ArcGIS Online World Elevation service. The value returned also depends on the observers current zoom level. The elevation layer works similar to imagery data where the resolution is based on a pyramid model. Depending on the zoom level a tile from a certain level of the pyramid is fetched from the server and this determines the precision of the elevation.