Changeset 10364 in josm for trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java
- Timestamp:
- 2016-06-12T20:46:23+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java
r10308 r10364 181 181 // If none, we'll zoom to the bounding box of the layer with the photos. 182 182 boolean boundingBoxedLayerFound = false; 183 for (Layer l: Main. map.mapView.getAllLayers()) {183 for (Layer l: Main.getLayerManager().getLayers()) { 184 184 if (l != yLayer) { 185 185 BoundingXYVisitor bbox = new BoundingXYVisitor(); … … 557 557 public void actionPerformed(ActionEvent arg0) { 558 558 // Construct the list of loaded GPX tracks 559 Collection<Layer> layerLst = Main. map.mapView.getAllLayers();559 Collection<Layer> layerLst = Main.getLayerManager().getLayers(); 560 560 GpxDataWrapper defaultItem = null; 561 561 for (Layer cur : layerLst) {
Note:
See TracChangeset
for help on using the changeset viewer.