MapCore.SetView Method (IEnumerable<Location>, Thickness, Double)

Bing
 

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)

public void SetView(
	IEnumerable<Location> locations,
	Thickness margin,
	double heading
)

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.

Return to top
Show: