/[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 419 by alfonx, Mon Sep 28 15:36:11 2009 UTC revision 420 by alfonx, Thu Oct 1 20:22:48 2009 UTC
# Line 1018  public class JMapPane extends JPanel imp Line 1018  public class JMapPane extends JPanel imp
1018                                  if (newArea.getMinX() < maxAllowedExtend.getMinX()) {                                  if (newArea.getMinX() < maxAllowedExtend.getMinX()) {
1019                                          LOGGER.debug("Now it exeeds the left border.. cut!");                                          LOGGER.debug("Now it exeeds the left border.. cut!");
1020                                          // And cut the left if it moved out of the area                                          // And cut the left if it moved out of the area
1021                                          newArea = new Envelope(new Coordinate(maxExtend.getMinX(),                                          newArea = new Envelope(new Coordinate(maxAllowedExtend.getMinX(),
1022                                                          newArea.getMinY()), new Coordinate(newArea                                                          newArea.getMinY()), new Coordinate(newArea
1023                                                          .getMaxX(), newArea.getMaxY()));                                                          .getMaxX(), newArea.getMaxY()));
1024    

Legend:
Removed from v.419  
changed lines
  Added in v.420

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26