Ticket #5207: tile-cache.patch
| File tile-cache.patch, 725 bytes (added by , 15 years ago) |
|---|
-
plugins/wmsplugin/src/wmsplugin/WMSLayer.java
old new 350 350 for(int x = bminx; x<=bmaxx; ++x) { 351 351 for(int y = bminy; y<=bmaxy; ++y){ 352 352 GeorefImage img = images[modulo(x,dax)][modulo(y,day)]; 353 if ( !img.paint(g, mv, x, y, leftEdge, bottomEdge)) {353 if ((img.getState() == GeorefImage.State.NOT_IN_CACHE && real) || !img.paint(g, mv, x, y, leftEdge, bottomEdge)) { 354 354 WMSRequest request = new WMSRequest(x, y, info.pixelPerDegree, real); 355 355 addRequest(request); 356 356 }
