Ticket #2735: wmsplugin-denanny.patch
| File wmsplugin-denanny.patch, 766 bytes (added by , 17 years ago) |
|---|
-
src/wmsplugin/WMSLayer.java
165 165 int bmaxx= (int)Math.ceil ((bounds().max.lat() * pixelPerDegree ) / ImageSize ); 166 166 int bmaxy= (int)Math.ceil ((bounds().max.lon() * pixelPerDegree ) / ImageSize ); 167 167 168 if(( bmaxx - bminx > dax) || (bmaxy - bminy > day)){168 if(((bmaxx - bminx > dax) || (bmaxy - bminy > day)) && !Main.pref.getBoolean("wmsplugin.maxarea-error.ignore", false)){ 169 169 JOptionPane.showMessageDialog(Main.parent, tr("The requested area is too big. Please zoom in a little, or change resolution")); 170 170 return; 171 171 }
