MapCore.SetView Method (Location, Double)

Bing
 

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

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

public void SetView(
	Location center,
	double zoomLevel
)

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.

Return to top
Show: