MapControl.TryPanToAsync(Geopoint) MapControl.TryPanToAsync(Geopoint) MapControl.TryPanToAsync(Geopoint) MapControl.TryPanToAsync(Geopoint) Method

Definition

Starts an asynchronous operation to pan the map to a specific location.

public : IAsyncOperation<Platform::Boolean> TryPanToAsync(Geopoint location)
IAsyncOperation<bool> TryPanToAsync(Geopoint location) const;
public IAsyncOperation<bool> TryPanToAsync(Geopoint location)
Public Function TryPanToAsync(location As Geopoint) As IAsyncOperation(Of bool)

Parameters

location
Geopoint Geopoint

The coordinates of a geographic location to which you want to pan the map.

Returns

Contains the results of the operation: true if the operation completed successfully; otherwise, false.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)