示例#1
0
 /// <summary>
 /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl"/>
 /// </summary>
 /// <returns>IAsyncOperation</returns>
 public Task <bool> TrySetViewAsync(Geopoint center, double?zoomLevel, double?heading, double?desiredPitch, MapAnimationKind animation) => UwpControl.TrySetViewAsync(center.UwpInstance, zoomLevel, heading, desiredPitch, (windows.UI.Xaml.Controls.Maps.MapAnimationKind)(int) animation).AsTask();
示例#2
0
 /// <summary>
 /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl"/>
 /// </summary>
 /// <returns>IAsyncOperation</returns>
 public Task <bool> TrySetViewAsync(Geopoint center, double?zoomLevel) => UwpControl.TrySetViewAsync(center.UwpInstance, zoomLevel).AsTask();
示例#3
0
 /// <summary>
 /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl"/>
 /// </summary>
 /// <returns>IAsyncOperation</returns>
 public Task <bool> TrySetViewAsync(Geopoint center, double?zoomLevel, double?heading, double?desiredPitch) => UwpControl.TrySetViewAsync(center.UwpInstance, zoomLevel, heading, desiredPitch).AsTask();
示例#4
0
        /*
         * /// <summary>
         * /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl.TrySetViewBoundsAsync"/>
         * /// </summary>
         * /// <returns>IAsyncOperation</returns>
         * public Task<bool> TrySetViewBoundsAsync(GeoboundingBox bounds, windows.UI.Xaml.Thickness? margin, MapAnimationKind animation) => UwpControl.TrySetViewBoundsAsync(bounds, margin, animation);
         */

        /// <summary>
        /// <see cref="windows.UI.Xaml.Controls.Maps.MapControl"/>
        /// </summary>
        /// <returns>IAsyncOperation</returns>
        public Task <bool> TrySetViewAsync(Geopoint center) => UwpControl.TrySetViewAsync(center.UwpInstance).AsTask();