Changeset 24934 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSPlanImage.java
- Timestamp:
- 2011-01-02T00:36:28+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSPlanImage.java
r21493 r24934 35 35 try { 36 36 if (grabber.getWmsInterface().retrieveInterface(wmsLayer)) { 37 if (!wmsLayer. images.isEmpty()) {37 if (!wmsLayer.getImages().isEmpty()) { 38 38 //JOptionPane.showMessageDialog(Main.parent,tr("Image already loaded")); 39 39 JOptionPane pane = new JOptionPane( … … 51 51 // first time we grab an image for this layer 52 52 if (CacheControl.cacheEnabled) { 53 if (wmsLayer.getCacheControl().loadCacheIfExist()) { 53 if (wmsLayer.grabThread.getCacheControl().loadCacheIfExist()) { 54 54 dontGeoreference = true; 55 55 Main.map.mapView.repaint(); … … 64 64 wmsLayer.grab(grabber, bounds); 65 65 if (grabber.getWmsInterface().downloadCancelled) { 66 wmsLayer. images.clear();66 wmsLayer.clearImages(); 67 67 Main.map.mapView.repaint(); 68 68 } else {
Note:
See TracChangeset
for help on using the changeset viewer.