Language
Edit

MapControl.TrySetViewAsync Method

Definition

Overloads

Name Description
TrySetViewAsync(Geopoint, Nullable<Double>, Nullable<Double>, Nullable<Double>, MapAnimationKind)

Windows.UI.Xaml.Controls.Maps.MapControl

TrySetViewAsync(Geopoint, Nullable<Double>, Nullable<Double>, Nullable<Double>)

Windows.UI.Xaml.Controls.Maps.MapControl

TrySetViewAsync(Geopoint, Nullable<Double>)

Windows.UI.Xaml.Controls.Maps.MapControl

TrySetViewAsync(Geopoint)

Windows.UI.Xaml.Controls.Maps.MapControl

TrySetViewAsync(Geopoint, Nullable<Double>, Nullable<Double>, Nullable<Double>, MapAnimationKind)

Windows.UI.Xaml.Controls.Maps.MapControl

public System.Threading.Tasks.Task<bool> TrySetViewAsync(Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Geopoint center, double? zoomLevel, double? heading, double? desiredPitch, Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.MapAnimationKind animation);
member this.TrySetViewAsync : Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Geopoint * Nullable<double> * Nullable<double> * Nullable<double> * Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.MapAnimationKind -> System.Threading.Tasks.Task<bool>
Public Function TrySetViewAsync (center As Geopoint, zoomLevel As Nullable(Of Double), heading As Nullable(Of Double), desiredPitch As Nullable(Of Double), animation As MapAnimationKind) As Task(Of Boolean)

Parameters

center
Geopoint
zoomLevel
Nullable<Double>
heading
Nullable<Double>
desiredPitch
Nullable<Double>
animation
MapAnimationKind

Returns

IAsyncOperation

Applies to

TrySetViewAsync(Geopoint, Nullable<Double>, Nullable<Double>, Nullable<Double>)

Windows.UI.Xaml.Controls.Maps.MapControl

public System.Threading.Tasks.Task<bool> TrySetViewAsync(Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Geopoint center, double? zoomLevel, double? heading, double? desiredPitch);
member this.TrySetViewAsync : Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Geopoint * Nullable<double> * Nullable<double> * Nullable<double> -> System.Threading.Tasks.Task<bool>
Public Function TrySetViewAsync (center As Geopoint, zoomLevel As Nullable(Of Double), heading As Nullable(Of Double), desiredPitch As Nullable(Of Double)) As Task(Of Boolean)

Parameters

center
Geopoint
zoomLevel
Nullable<Double>
heading
Nullable<Double>
desiredPitch
Nullable<Double>

Returns

IAsyncOperation

Applies to

TrySetViewAsync(Geopoint, Nullable<Double>)

Windows.UI.Xaml.Controls.Maps.MapControl

public System.Threading.Tasks.Task<bool> TrySetViewAsync(Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Geopoint center, double? zoomLevel);
member this.TrySetViewAsync : Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Geopoint * Nullable<double> -> System.Threading.Tasks.Task<bool>
Public Function TrySetViewAsync (center As Geopoint, zoomLevel As Nullable(Of Double)) As Task(Of Boolean)

Parameters

center
Geopoint
zoomLevel
Nullable<Double>

Returns

IAsyncOperation

Applies to

TrySetViewAsync(Geopoint)

Windows.UI.Xaml.Controls.Maps.MapControl

public System.Threading.Tasks.Task<bool> TrySetViewAsync(Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Geopoint center);
member this.TrySetViewAsync : Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Geopoint -> System.Threading.Tasks.Task<bool>
Public Function TrySetViewAsync (center As Geopoint) As Task(Of Boolean)

Parameters

center
Geopoint

Returns

IAsyncOperation

Applies to