MapControl.Heading Property

Definition

Gets or sets the directional heading of the map in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West.

public:
 property double Heading { double get(); void set(double value); };
double Heading();

void Heading(double value);
public double Heading { get; set; }
var double = mapControl.heading;
mapControl.heading = double;
Public Property Heading As Double
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->

<Maps:MapControl Heading="heading"/>
- or -
<Maps:MapControl>
    <Maps:MapControl.Heading>heading</Maps:MapControl.Heading>
</Maps:MapControl>

Property Value

Double

double

The directional heading of the map in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West.

Remarks

Heading values greater than 360 degrees are normalized to their equivalent 0-360 degree value.

Applies to

See also