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, and heading.
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
)
public:
void SetView(
IEnumerable<Location^>^ locations,
Thickness margin,
double heading
)
member SetView :
locations:IEnumerable<Location> *
margin:Thickness *
heading:float -> unit
Public Sub SetView (
locations As IEnumerable(Of Location),
margin As Thickness,
heading 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.
See Also
SetView Overload
MapCore Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top