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

Syntax

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.

Remarks

Setting this property may throw one of the following exceptions.

ArgumentOutOfRangeException

The zoom level must be greater than zero.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

BingMapsTask Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the Bing Maps task for Windows Phone 8