Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MapControl.DesiredPitch Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets a value that indicates by how many degrees you want the map to be tilted. Sometimes the desired pitch cannot be set.

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

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

<Maps:MapControl DesiredPitch="desiredPitch" />
- or -
<Maps:MapControl>
 <Maps:MapControl.DesiredPitch>desiredPitch</Maps:MapControl.DesiredPitch>
</Maps:MapControl>

Property Value

Double

double

A value that indicates by how many degrees you want the map to be tilted. Sometimes the desired pitch cannot be set.

Remarks

For more information about pitch, see the remarks section of the MapCamera(Geopoint, Double, Double, Double, Double) overload.

The maximum and minimum values of pitch/tilt depend on the type of map view: 2D, 3D, or Streetside.

Property2D range3D rangeStreetside range
DesiredPitch0-750-900-180

Applies to

See also


Feedback

Was this page helpful?