ZoomLevel Property
Collapse the table of content
Expand the table of content

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

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft