Changeset 32329 in osm for applications/editors/josm/plugins/imagery-xml-bounds/src
- Timestamp:
- 2016-06-19T16:08:56+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/actions/downloadtask/DownloadXmlBoundsTask.java
r30735 r32329 73 73 int count = 0; 74 74 if (!Main.isDisplayingMapView()) return 0; 75 for (Layer layer : Main. map.mapView.getAllLayers()) {75 for (Layer layer : Main.getLayerManager().getLayers()) { 76 76 if (layer instanceof XmlBoundsLayer) { 77 77 count++; … … 84 84 protected OsmDataLayer getFirstDataLayer() { 85 85 if (!Main.isDisplayingMapView()) return null; 86 for (Layer layer : Main. map.mapView.getAllLayersAsList()) {86 for (Layer layer : Main.getLayerManager().getLayers()) { 87 87 if (layer instanceof XmlBoundsLayer) 88 88 return (XmlBoundsLayer) layer;
Note:
See TracChangeset
for help on using the changeset viewer.