Map.SetView Method (LocationRectangle, Thickness, MapAnimationKind)

Sets the map view to the specified geographical region with the specified margin. The view change uses the specified animation.

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

'Declaration
Public Sub SetView ( _
	boundingRectangle As LocationRectangle, _
	desiredMargins As Thickness, _
	animationKind As MapAnimationKind _
)

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.
animationKind
Type: Microsoft.Phone.Maps.Controls.MapAnimationKind
The type of animation to use when changing the view.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2015 Microsoft