/[schmitzm]/trunk/src/skrueger/geotools/XMapPane.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/XMapPane.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 444 by alfonx, Mon Oct 5 13:04:01 2009 UTC revision 445 by alfonx, Wed Oct 7 13:17:02 2009 UTC
# Line 956  public class JMapPane extends JPanel imp Line 956  public class JMapPane extends JPanel imp
956                  }                  }
957    
958                  Envelope maxAllowedExtend = getMaxExtend();                  Envelope maxAllowedExtend = getMaxExtend();
959                  while (maxAllowedExtend != null && !maxAllowedExtend.contains(newArea)) {                  while (maxAllowedExtend != null && !maxAllowedExtend.contains(newArea) && newArea != null && !newArea.isNull() && !Double.isNaN(newArea.getMinX()) && !Double.isNaN(newArea.getMaxX()) && !Double.isNaN(newArea.getMinY()) && !Double.isNaN(newArea.getMaxY()) ) {
960                          /*                          /*
961                           * If a maxExtend is set, we have to honour that...                           * If a maxExtend is set, we have to honour that...
962                           */                           */

Legend:
Removed from v.444  
changed lines
  Added in v.445

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26