Changeset 32556 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSVectorImage.java
- Timestamp:
- 2016-07-04T14:18:17+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSVectorImage.java
r32425 r32556 1 // License: GPL. v2 and later. Copyright 2008-2009 by Pieren <pieren3@gmail.com> and others1 // License: GPL. For details, see LICENSE file. 2 2 package cadastre_fr; 3 3 … … 42 42 if (wmsLayer.isRaster()) { 43 43 // set raster image commune bounding box based on current view (before adjustment) 44 JOptionPane.showMessageDialog(Main.parent,tr("This commune is not vectorized.\nPlease use the other menu entry to georeference a \"Plan image\"")); 44 JOptionPane.showMessageDialog(Main.parent, 45 tr("This commune is not vectorized.\nPlease use the other menu entry to georeference a \"Plan image\"")); 45 46 Main.getLayerManager().removeLayer(wmsLayer); 46 47 wmsLayer = null; … … 53 54 // grab new images from wms server into active layer 54 55 wmsLayer.grab(bounds); 55 } 56 else if(wmsLayer.getImages().size()==0) 56 } else if (wmsLayer.getImages().size() == 0) 57 57 // failed to contact WMS of find this commune. Remove layer if empty. 58 58 Main.getLayerManager().removeLayer(wmsLayer);
Note:
See TracChangeset
for help on using the changeset viewer.
