Share via


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

See Also

SetView Overload
MapCore Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top