Class ZoomAction

All Implemented Interfaces:
ActionListener, MouseListener, MouseMotionListener, Serializable, Cloneable, EventListener, Action, SelectionManager.SelectionEnded, PreferenceChangedListener, Destroyable

public class ZoomAction extends MapMode implements SelectionManager.SelectionEnded
Enable the zoom mode within the MapFrame. Holding down the left mouse button select a rectangle with the same aspect ratio than the current map view. Holding down left and right let the user move the former selected rectangle. Releasing the left button zoom to the selection. Rectangle selections with either height or width smaller than 3 pixels are ignored.
Since:
1
See Also: