Share via

MapsTask.ZoomLevel Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the initial zoom level of the map.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.


Public Property ZoomLevel As Double
public double ZoomLevel { get; set; }
<object ZoomLevel="double" .../>

Property Value

Type: System..::.Double
Type: Double. The zoom level of the map.


Setting this property may throw one of the following exceptions.


The zoom level must be greater than zero.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also


MapsTask Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the Maps task for Windows Phone 8