Delen via


MapControl.ZoomLevel Property

Definition

Gets or sets the zoom level of the map, which is a value between 1 and 20 in 2D views.

public:
 property double ZoomLevel { double get(); void set(double value); };
double ZoomLevel();

void ZoomLevel(double value);
public double ZoomLevel { get; set; }
var double = mapControl.zoomLevel;
mapControl.zoomLevel = double;
Public Property ZoomLevel As Double
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->

<Maps:MapControl ZoomLevel="zoomLevel"/>
- or -
<Maps:MapControl>
    <Maps:MapControl.ZoomLevel>zoomLevel</Maps:MapControl.ZoomLevel>
</Maps:MapControl>

Property Value

Double

double

The zoom level of the map, which is a value between 1 and 20 in 2D views.

Remarks

See the remarks section of the TryZoomInAsync method.

Applies to

See also