MapControl.TryZoomToAsync(Double) MapControl.TryZoomToAsync(Double) MapControl.TryZoomToAsync(Double) MapControl.TryZoomToAsync(Double) Method

Definition

Starts an asynchronous operation to zoom the map to a specific ZoomLevel.

public : IAsyncOperation<Platform::Boolean> TryZoomToAsync(double zoomLevel)
IAsyncOperation<bool> TryZoomToAsync(double zoomLevel) const;
public IAsyncOperation<bool> TryZoomToAsync(Double zoomLevel)
Public Function TryZoomToAsync(zoomLevel As Double) As IAsyncOperation(Of bool)

Parameters

zoomLevel
Double Double

The final zoom level of the map, between 1 and 20.

Returns

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

Remarks

See the remarks section of the TryZoomInAsync method.