MapCore.SetView Method (IEnumerable<Location>, Thickness, Double)
Bing
Sets the map view to the specified center location, margin, and heading.
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Parameters
- locations
-
Type:
System.Collections.Generic.IEnumerable<Location>
The location of the center of the map view.
- margin
-
Type:
System.Windows.Thickness
The margin in viewport pixels. This value must be non-negative.
- heading
-
Type:
System.Double
The heading of the map view.
Show: