MapCore.SetView Method (Location, Double)
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)
Syntax
public void SetView(
Location center,
double zoomLevel
)
public:
void SetView(
Location^ center,
double zoomLevel
)
member SetView :
center:Location *
zoomLevel:float -> unit
Public Sub SetView (
center As Location,
zoomLevel As Double
)
Parameters
center
Type: Microsoft.Maps.MapControl.WPF.LocationThe location of the center of the map view.
zoomLevel
Type: System.DoubleThe zoom level of the map view.
See Also
SetView Overload
MapCore Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top