Property MapRotation
MapRotation
Gets the rotation angle of the Map in degrees from its north-south direction.
Declaration
public double MapRotation { get; }
Property Value
Type | Description |
---|---|
System.Double | The rotation angle of the Map in degrees from its north-south direction. |
Remarks
You can observe changes to this property by listening to the System.ComponentModel.INotifyPropertyChanged.PropertyChanged event.
If the map has been rotated in a clockwise direction the rotation value is negative. If it has been rotated in a counterclockwise direction the value is positive. For example, if the rotation value is -90 the top of the MapView will display an eastern part of the Map.
Users can interactively rotate the map using the map view's keyboard, mouse or touch rotation gestures. You can rotate the map programmatically using methods that set the Viewpoint, such as SetViewpointRotationAsync(Double) or SetViewpoint(Viewpoint).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |