-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Controls.Maps.MapControl.GetLocationFromOffset(Windows.Foundation.Point,Windows.Devices.Geolocation.AltitudeReferenceSystem,Windows.Devices.Geolocation.Geopoint@) |
winrt method |
Converts a point on the map to a geographic location by using the specified altitude reference system.
Note
This method is deprecated. Use the TryGetLocationFromOffset method instead.
A point on the map to convert to a geographic location.
The altitude reference system of the geographic point. A value of Unspecified for the altitude reference system has the same effect as using the default GetLocationFromOffset(Windows.Foundation.Point offset, Windows.Devices.Geolocation.Geopoint location) overload.
When this method returns, contains the corresponding geographic location.
This method provides an instance of a Geopoint. That Geopoint contains a BasicGeoPosition. object. The desiredReferenceSystem parameter sets the Altitude field of that object.
This method will throw an exception if the point is invalid.
Note
An AltitudeReferenceSystem of Ellipsoid might not be supported.