Map.SetView Method (LocationRectangle, Thickness)
[ 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 with the specified margin.
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Parameters
- boundingRectangle
- Type: Microsoft.Phone.Maps.Controls.LocationRectangle
A geographical region represented as a LocationRectangle.
- desiredMargins
- Type: System.Windows.Thickness
The Margin to use in the map view.
Show: