Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Zoom on the edge ...

Jody Garnett wrote:

Using the zoom tool near the edge of the screen (so that the zoom box "extends" past the edge of the screen) produces the following error:

Button down=8
java.lang.IllegalArgumentException: newBounds must have the same aspect ratio as getAspectRatio() expected:1.261168384879725 newBounds AspectRatio=1.986254295532646 at net.refractions.udig.project.render.impl.ViewportModelImpl.setBounds(ViewportModelImpl.java:284)

Okay I take that back - any use of the zoom tool produces that error:
This is with the bc_2m_border data from the demo CD.

Map was created with this CRS:
GEOGCS["NAD83",
  DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
    AUTHORITY["EPSG","6269"]],
  PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
  UNIT["degree", 0.017453292519943295],
  AXIS["Lon", EAST],
  AXIS["Lat", NORTH],
  AUTHORITY["EPSG","4269"]]


Back to the top