Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 963 Bytes

mapcontrol_trygetlocationfromoffset_77980665.md

File metadata and controls

30 lines (21 loc) · 963 Bytes
-api-id -api-type
M:Windows.UI.Xaml.Controls.Maps.MapControl.TryGetLocationFromOffset(Windows.Foundation.Point,Windows.Devices.Geolocation.Geopoint@)
winrt method

Windows.UI.Xaml.Controls.Maps.MapControl.TryGetLocationFromOffset

-description

Converts a point on the map to a geographic location.

-parameters

-param offset

A point on the map to convert to a geographic location.

-param location

When this method returns, contains the corresponding geographic location.

-returns

Returns true if the location is invalid; otherwise, false.

-remarks

Use this method instead of the GetLocationFromOffset method. The GetLocationFromOffset method has been deprecated.

-see-also

-examples