/// <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();
/// <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();
/// <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();
/* * /// <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();