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

Rotation

Users can rotate the map as shown in the image below. Hold down the right mouse button and move the mouse in a circle to rotate the map. Double-click the map with the right mouse button to reset the rotation angle:

Use the MapControl.EnableRotation property to enable or disable map rotation:

mapControl1.EnableRotation = true;

You can use the following API members to rotate the map programmatically:

  • The Angle property specifies the rotation angle. The code below rotates the map 20 degrees:
mapControl1.Angle = 20;
  • The RotateAt(Double, CoordPoint) method rotates a map at the specified point. The code below rotates the map 90 degrees at the center point:
mapControl1.RotateAt(90, mapControl1.CenterPoint);