Class AlignGridRotationAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Destroyable

    public class AlignGridRotationAction
    extends JosmAction
    Rotates the grid drawn over the map so that its lines run parallel to the current selection: either a single way (the direction from its first to its last node) or exactly two nodes. Switches the grid to projected coordinates, since a latitude/longitude grid cannot be rotated, and enables it.
    Since:
    19640
    See Also:
    MapGridPaintable, SetGridOriginAction, Serialized Form