Changeset 35976 in osm for applications/editors/josm/plugins/waydownloader/src/org
- Timestamp:
- 2022-06-14T20:11:21+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/waydownloader/src/org/openstreetmap/josm/plugins/waydownloader/WayDownloaderPlugin.java
r34976 r35976 22 22 import org.openstreetmap.josm.data.DataSource; 23 23 import org.openstreetmap.josm.data.UndoRedoHandler; 24 import org.openstreetmap.josm.data.coor.LatLon; 24 import org.openstreetmap.josm.data.coor.ILatLon; 25 25 import org.openstreetmap.josm.data.osm.DataSet; 26 26 import org.openstreetmap.josm.data.osm.DefaultNameFormatter; … … 111 111 DownloadOsmTask downloadTask = new DownloadOsmTask(); 112 112 final PleaseWaitProgressMonitor monitor = new PleaseWaitProgressMonitor(); 113 LatLon ll = selectedNode .getCoor();113 ILatLon ll = selectedNode; 114 114 final Future<?> future = downloadTask.download( 115 115 new DownloadParams(), … … 308 308 for (DataSource datasource : MainApplication.getLayerManager().getEditDataSet().getDataSources()) { 309 309 Bounds bounds = datasource.bounds; 310 if (bounds != null && bounds.contains(node .getCoor())) return true;310 if (bounds != null && bounds.contains(node)) return true; 311 311 } 312 312 return false;
Note:
See TracChangeset
for help on using the changeset viewer.