Changeset 3066 in josm
- Timestamp:
- 2010-03-01T23:13:13+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r3065 r3066 11 11 import org.openstreetmap.josm.Main; 12 12 import org.openstreetmap.josm.data.Bounds; 13 import org.openstreetmap.josm.data.coor.LatLon; 13 14 import org.openstreetmap.josm.data.osm.DataSet; 14 15 import org.openstreetmap.josm.data.osm.DataSource; … … 142 143 // need to synthesize a download bounds lest the visual indication of downloaded 143 144 // area doesn't work 144 dataSet.dataSources.add(new DataSource(currentBounds , "OpenStreetMap server"));145 dataSet.dataSources.add(new DataSource(currentBounds != null ? currentBounds : new Bounds(new LatLon(0, 0)), "OpenStreetMap server")); 145 146 } 146 147
Note:
See TracChangeset
for help on using the changeset viewer.