MapControl.ZoomLevel Property
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.
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.