Skip to main content
All docs
V25.2
  • MapControl.RotateAt(Double, CoordPoint) Method

    Rotates a map at the specified point.

    Namespace: DevExpress.XtraMap

    Assembly: DevExpress.XtraMap.v25.2.dll

    NuGet Package: DevExpress.Win.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:

    mapControl1.RotateAt(20, mapControl1.CenterPoint);
    

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

    See Also