Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MapControl.TryPanToAsync(Geopoint) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 virtual IAsyncOperation<bool> ^ TryPanToAsync(Geopoint ^ location) = TryPanToAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryPanToAsync(Geopoint const& location);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryPanToAsync(Geopoint location);
function tryPanToAsync(location)
Public Function TryPanToAsync (location As Geopoint) As IAsyncOperation(Of Boolean)

Parameters

location
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.

Attributes

Windows requirements

Requirements Description
Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to


Feedback

Was this page helpful?