/// <summary> /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl.GetOffsetFromLocation"/> /// </summary> public void GetOffsetFromLocation(Geopoint location, out Win32.UI.Controls.Interop.WinRT.Point offset) { UwpControl.GetOffsetFromLocation(location.UwpInstance, out var uwpOffset); offset = (Win32.UI.Controls.Interop.WinRT.Point)uwpOffset; }
/// <summary> /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl"/> /// </summary> /// <returns>bool</returns> public System.Collections.Generic.IReadOnlyList <MapElement> FindMapElementsAtOffset(Win32.UI.Controls.Interop.WinRT.Point offset) => (System.Collections.Generic.IReadOnlyList <MapElement>)UwpControl.FindMapElementsAtOffset(offset.UwpInstance);
/// <summary> /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl"/> /// </summary> public void GetLocationFromOffset(Win32.UI.Controls.Interop.WinRT.Point offset, out windows.Devices.Geolocation.Geopoint location) => UwpControl.GetLocationFromOffset(offset.UwpInstance, out location);
/// <summary> /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl"/> /// </summary> /// <returns>bool</returns> public bool TryGetLocationFromOffset(Win32.UI.Controls.Interop.WinRT.Point offset, AltitudeReferenceSystem desiredReferenceSystem, out windows.Devices.Geolocation.Geopoint location) => UwpControl.TryGetLocationFromOffset(offset.UwpInstance, (windows.Devices.Geolocation.AltitudeReferenceSystem)(int) desiredReferenceSystem, out location);