Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapControl.RotateAt(Double, CoordPoint) Method

Rotates a map at the specified point.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public void RotateAt(
    double angle,
    CoordPoint center
)

#Parameters

Name Type Description
angle Double

The angle in degrees.

center CoordPoint

A coordinate point that specifies the rotation point.

#Remarks

The following code rotates the map 20 degrees:

mapControl.RotateAt(20, mapControl.CenterPoint);

Alternatively, you can use the Angle property to specify the map’s rotation.

See Also