Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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);
Ejemplo n.º 3
0
 /// <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);
Ejemplo n.º 4
0
 /// <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);