Changeset 27679 in osm for applications/editors/josm/plugins/mirrored_download/src
- Timestamp:
- 2012-02-01T21:19:27+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/mirrored_download/src/mirrored_download
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/BoundingBoxDownloader2.java
r27678 r27679 26 26 try { 27 27 OsmApi.getOsmApi().initialize(progressMonitor); 28 urlStr = "http://overpass-api.de/api/xapi?"+ urlStr;28 urlStr = MirroredDownloadPlugin.getDownloadUrl() + urlStr; 29 29 return getInputStreamRaw(urlStr, progressMonitor); 30 30 } finally { -
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/MirroredDownloadPlugin.java
r27678 r27679 42 42 jMenu.addSeparator(); 43 43 jMenu.add(new JMenuItem(new DownloadAction2())); 44 jMenu.add(new JMenuItem(new UrlSelectionAction())); 44 45 setEnabledAll(true); 45 46 } … … 53 54 } 54 55 } 56 57 private static String downloadUrl = "http://overpass.osm.rambler.ru/cgi/xapi?";//"http://overpass-api.de/api/xapi?"; 58 59 public static String getDownloadUrl() { 60 return downloadUrl; 61 } 62 public static void setDownloadUrl(String downloadUrl_) { 63 downloadUrl = downloadUrl_; 64 } 55 65 }
Note:
See TracChangeset
for help on using the changeset viewer.