Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the map view to the specified center ___location, margin, heading, and zoom level.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public void SetView(
IEnumerable<Location> locations,
Thickness margin,
double heading,
double maxZoomLevel
)
public:
void SetView(
IEnumerable<Location^>^ locations,
Thickness margin,
double heading,
double maxZoomLevel
)
member SetView :
locations:IEnumerable<Location> *
margin:Thickness *
heading:float *
maxZoomLevel:float -> unit
Public Sub SetView (
locations As IEnumerable(Of Location),
margin As Thickness,
heading As Double,
maxZoomLevel As Double
)
Parameters
locations
Type: System.Collections.Generic.IEnumerable<Location>The ___location of the center of the map view.
margin
Type: System.Windows.ThicknessThe margin in viewport pixels. This value must be non-negative.
heading
Type: System.DoubleThe heading of the map view.
maxZoomLevel
Type: System.DoubleThe maximum zoom level of the map view.
See Also
SetView Overload
MapCore Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top