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 |
---|---|---|
Map |
point | The point location to find the elevation for. |
Returns
Type | Description |
---|---|
System. |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.7 |
.NET | 100.13 - 200.7 |
.NET Windows | 100.13 - 200.7 |
.NET Android | 200.0 - 200.7 |
.NET iOS | 200.0 - 200.7 |
.NET Framework | 100.0 - 200.7 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.7 |
Relevant samples
List KML contents: List the contents of a KML file.