-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Controls.Maps.MapControl.TryGetLocationFromOffset(Windows.Foundation.Point,Windows.Devices.Geolocation.Geopoint@) |
winrt method |
Converts a point on the map to a geographic location.
A point on the map to convert to a geographic location.
When this method returns, contains the corresponding geographic location.
Returns true if the location is invalid; otherwise, false.
Use this method instead of the GetLocationFromOffset method. The GetLocationFromOffset method has been deprecated.