Esempio n. 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();
Esempio n. 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();
Esempio n. 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();
Esempio n. 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();