Changeset 4791 in josm
- Timestamp:
- 2012-01-14T16:49:41+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
r4724 r4791 67 67 minlon = Double.parseDouble(args.get("left")); 68 68 maxlon = Double.parseDouble(args.get("right")); 69 boolean newLayer = Boolean.parseBoolean(args.get("new_layer")); 69 70 70 71 if(command.equals(myCommand)) … … 103 104 else 104 105 { 105 Future<?> future = osmTask.download( false /*no new layer*/, new Bounds(minlat,minlon,maxlat,maxlon), null /* let the task manage the progress monitor */);106 Future<?> future = osmTask.download(newLayer, new Bounds(minlat,minlon,maxlat,maxlon), null /* let the task manage the progress monitor */); 106 107 Main.worker.submit(new PostDownloadHandler(osmTask, future)); 107 108 }
Note:
See TracChangeset
for help on using the changeset viewer.