Changeset 5114 in osm for applications/editors
- Timestamp:
- 2007-10-22T13:57:42+02:00 (17 years ago)
- Location:
- applications/editors/josm/plugins/wmsplugin/src/wmsplugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/DownloadWMSTask.java
r2121 r5114 39 39 40 40 @Override public void realRun() throws IOException { 41 Main.pleaseWaitDlg.currentAction.setText(tr("Contacting WMS Server...")); 41 42 wmsLayer.grab(minlat,minlon,maxlat,maxlon); 42 43 } -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSImage.java
r2121 r5114 15 15 import org.openstreetmap.josm.data.coor.LatLon; 16 16 import org.openstreetmap.josm.gui.NavigatableComponent; 17 import org.openstreetmap.josm.io.ProgressInputStream; 17 18 18 19 public class WMSImage … … 98 99 protected void doGrab (URL url) throws IOException 99 100 { 100 InputStream is = url.openStream(); 101 InputStream is = new ProgressInputStream( 102 url.openConnection(), Main.pleaseWaitDlg); 101 103 theImage = ImageIO.read(is) ; 102 104 is.close();
Note:
See TracChangeset
for help on using the changeset viewer.