Changeset 24907 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSDownloadAction.java
- Timestamp:
- 2010-12-29T23:18:37+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSDownloadAction.java
r20390 r24907 30 30 if (Main.map != null) { 31 31 Layer activeLayer = Main.map.mapView.getActiveLayer(); 32 if (activeLayer instanceof WMSLayer && !((WMSLayer)activeLayer).isBuildingsOnly())32 if (activeLayer instanceof WMSLayer) 33 33 return (WMSLayer) activeLayer; 34 34 for (Layer l : Main.map.mapView.getAllLayers()) { 35 if (l instanceof WMSLayer && !((WMSLayer)l).isBuildingsOnly()) {35 if (l instanceof WMSLayer) { 36 36 existingWMSlayers.add((WMSLayer)l); 37 37 }
Note:
See TracChangeset
for help on using the changeset viewer.
