Changeset 17089 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionNewLocation.java
- Timestamp:
- 2009-08-16T23:36:16+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionNewLocation.java
r15961 r17089 30 30 WMSLayer wmsLayer = addNewLayer(new ArrayList<WMSLayer>()); 31 31 if (wmsLayer != null) 32 DownloadWMS Task.download(wmsLayer);32 DownloadWMSVectorImage.download(wmsLayer); 33 33 } 34 34 … … 79 79 Main.pref.put("cadastrewms.codeCommune", codeCommune); 80 80 for (Layer l : Main.map.mapView.getAllLayers()) { 81 if (l instanceof WMSLayer && l. name.equalsIgnoreCase(location + codeDepartement)) {81 if (l instanceof WMSLayer && l.getName().equalsIgnoreCase(location + codeDepartement)) { 82 82 return null; 83 83 } … … 93 93 94 94 if (resetCookie) 95 CadastrePlugin.cadastreGrabber.getWmsInterface().resetCookieIfNewLayer(wmsLayer. name);95 CadastrePlugin.cadastreGrabber.getWmsInterface().resetCookieIfNewLayer(wmsLayer.getName()); 96 96 return wmsLayer; 97 97 }
Note:
See TracChangeset
for help on using the changeset viewer.
