For mouse clicks, the display will be zoomed-in such that the map centre is the position of the mouse click and the map width and height are calculated as:
{@code len = len.old / z}where {@code z} is the linear zoom increment (>= 1.0)
The tool also responds to the user drawing a box on the map mapPane with mouse click-and-drag to define the zoomed-in area. @author Michael Bedward @author Andrea Antonello (www.hydrologis.com) @source $URL$
|
|