Map.SetView Method (LocationRectangle, MapAnimationKind)
[ 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. The view change uses the specified animation.
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
'Declaration Public Sub SetView ( _ boundingRectangle As LocationRectangle, _ animationKind As MapAnimationKind _ )
Parameters
- boundingRectangle
- Type: Microsoft.Phone.Maps.Controls.LocationRectangle
A geographical region represented as a LocationRectangle.
- animationKind
- Type: Microsoft.Phone.Maps.Controls.MapAnimationKind
The type of animation to use when changing the view.
Show: