Changeset 13741 in osm
- Timestamp:
- 2009-02-15T15:18:29+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/GeorefImage.java
r13673 r13741 62 62 int width = Math.abs(maxPt.x-minPt.x); 63 63 int height = Math.abs(minPt.y-maxPt.y); 64 int diffx = reImgHash.width - width; 65 int diffy = reImgHash.height - height; 66 64 int diffx, diffy; 65 try { 66 diffx = reImgHash.width - width; 67 diffy = reImgHash.height - height; 68 } catch(Exception e) { 69 reImgHash = new Dimension(0, 0); 70 diffx = 99; 71 diffy = 99; 72 } 67 73 // This happens if you zoom outside the world 68 74 if(width == 0 || height == 0)
Note:
See TracChangeset
for help on using the changeset viewer.