Show / Hide Table of Contents

Method GetElevationAsync

GetElevationAsync(MapPoint)

Gets the elevation (in meters) for the specified location on the surface.

Declaration
public Task<double> GetElevationAsync(MapPoint point)
Parameters
Type Name Description
MapPoint point

The point location to find the elevation for.

Returns
Type Description
System.Threading.Tasks.Task<System.Double>

An asynchronous task of type double for the elevation at the specified position.

Remarks

The returned elevation value is based on the highest possible level of detail available into the surface from the provided elevation sources. This results in the highest possible resolution for the elevation value for the given location. Note that this may differ from the value of the elevation currently being rendered which may be at a lower resolution.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
Relevant samples
List KML contents: List the contents of a KML file.
In This Article
Back to top Copyright © 2022 Esri.