Changeset 13654 in osm for applications/editors/josm/plugins/wmsplugin/src
- Timestamp:
- 2009-02-10T22:39:13+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/wmsplugin/src/wmsplugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/GeorefImage.java
r13652 r13654 23 23 public class GeorefImage implements Serializable { 24 24 public BufferedImage image = null; 25 private BufferedImage reImg = null;25 private Image reImg = null; 26 26 private Dimension reImgHash = new Dimension(0, 0); 27 27 public EastNorth min, max; … … 121 121 return out_img; 122 122 } 123 124 public void flushedResizedCachedInstance() { 125 reImg = null; 126 } 123 127 } -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSLayer.java
r13652 r13654 248 248 boolean alphaChannel = checkbox.isSelected(); 249 249 Main.pref.put("wmsplugin.alpha_channel", alphaChannel); 250 Main.map.repaint(); 250 251 // clear all resized cached instances and repaint the layer 252 for (int x = 0; x < dax; ++x) { 253 for (int y = 0; y < day; ++y) { 254 GeorefImage img = images[modulo(x, dax)][modulo(y, day)]; 255 img.flushedResizedCachedInstance(); 256 } 257 } 258 mv.repaint(); 251 259 } 252 260 }
Note:
See TracChangeset
for help on using the changeset viewer.