Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V20.2
  • MapControl.RotateAt(Double, CoordPoint) Method

    Rotates a map at the specified point.

    Namespace: DevExpress.Xpf.Map

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

    NuGet Packages: DevExpress.WindowsDesktop.Wpf.Map, 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