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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
Relevant samples
List KML contents: List the contents of a KML file.