MapCore.SetView Method (Location, Double, Double)

 

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)

Syntax

public void SetView(
    Location center,
    double zoomLevel,
    double heading
)
public:
void SetView(
    Location^ center,
    double zoomLevel,
    double heading
)
member SetView : 
        center:Location *
        zoomLevel:float *
        heading:float -> unit
Public Sub SetView (
    center As Location,
    zoomLevel As Double,
    heading As Double
)

Parameters

  • heading
    Type: System.Double

    The directional heading of the map view.

See Also

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

Return to top