The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Map.SetView Method (LocationRectangle)

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

Sets the map view to the specified geographical region.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

public void SetView(
	LocationRectangle boundingRectangle


Type: Microsoft.Phone.Maps.Controls.LocationRectangle
A geographical region represented as a LocationRectangle.

Windows Phone OS

Supported in: 8.1, 8.0