Map.SetView Method

Include Protected Members
Include Inherited Members

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

Sets the view displayed in the Map control.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
SetView(LocationRectangle) Sets the map view to the specified geographical region.
SetView(GeoCoordinate, Double) Sets the map view using the specified center and zoom level.
SetView(LocationRectangle, MapAnimationKind) Sets the map view to the specified geographical region. The view change uses the specified animation.
SetView(LocationRectangle, Thickness) Sets the map view to the specified geographical region with the specified margin.
SetView(GeoCoordinate, Double, MapAnimationKind) Sets the map view using the specified center and zoom level. The view change uses the specified animation.
SetView(GeoCoordinate, Double, Double) Sets the map view using the specified center, zoom level, and heading.
SetView(LocationRectangle, Thickness, MapAnimationKind) Sets the map view to the specified geographical region with the specified margin. The view change uses the specified animation.
SetView(GeoCoordinate, Double, Double, MapAnimationKind) Sets the map view using the specified center, zoom level, and heading. The view change uses the specified animation.
SetView(GeoCoordinate, Double, Double, Double) Sets the map view using the specified center, zoom level, heading, and pitch.
SetView(GeoCoordinate, Double, Double, Double, MapAnimationKind) Sets the map view using the specified center, zoom level, heading, and pitch. The view change uses the specified animation.

Top

See Also

Reference

Map Class

Map Members

Microsoft.Phone.Maps.Controls Namespace