Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.48 KB

mapcontrol_desiredpitch.md

File metadata and controls

45 lines (33 loc) · 1.48 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.Maps.MapControl.DesiredPitch
winrt property

Windows.UI.Xaml.Controls.Maps.MapControl.DesiredPitch

-description

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.

-xaml-syntax

<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->

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

-xaml-values

desiredPitch
desiredPitchA value that indicates by how many degrees you want the map to be tilted.
## -property-value 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

-examples

-see-also

Pitch, Display maps with 2D, 3D, and Streetside views