Class AlignGridRotationAction

java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.actions.JosmAction
org.openstreetmap.josm.actions.AlignGridRotationAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, 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: