MapCore::SetView Method (Location^, Double, Double)

Bing
 

Sets the map view to the specified center location, zoom level, and directional heading.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

public:
void SetView(
	Location^ center,
	double zoomLevel,
	double heading
)

Parameters

center
Type: Microsoft.Maps.MapControl.WPF::Location^

The location of the center of the map view.

zoomLevel
Type: System::Double

The zoom level of the map view.

heading
Type: System::Double

The directional heading of the map view.

Return to top
Show: