Changeset 32425 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSVectorImage.java
- Timestamp:
- 2016-06-28T23:22:36+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSVectorImage.java
r32205 r32425 43 43 // set raster image commune bounding box based on current view (before adjustment) 44 44 JOptionPane.showMessageDialog(Main.parent,tr("This commune is not vectorized.\nPlease use the other menu entry to georeference a \"Plan image\"")); 45 Main. main.removeLayer(wmsLayer);45 Main.getLayerManager().removeLayer(wmsLayer); 46 46 wmsLayer = null; 47 47 return; … … 56 56 else if(wmsLayer.getImages().size()==0) 57 57 // failed to contact WMS of find this commune. Remove layer if empty. 58 Main. main.removeLayer(wmsLayer);58 Main.getLayerManager().removeLayer(wmsLayer); 59 59 } catch (DuplicateLayerException e) { 60 60 // we tried to grab onto a duplicated layer (removed)
Note:
See TracChangeset
for help on using the changeset viewer.
