Ignore:
Timestamp:
2006-05-03T22:21:02+02:00 (18 years ago)
Author:
imi
Message:
  • added zoom/move around with Ctrl+direction keys / Ctrl +, Ctrl -
  • added progress bar counter of downloaded bytes
  • added support for little-osm (relaxed assumptions about osm/xml input format)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/DownloadAction.java

    r100 r101  
    135135
    136136        public void actionPerformed(ActionEvent e) {
    137                 String osmDataServer = Main.pref.get("osm-server.url");
    138                 //TODO: Remove this in later versions (temporary only)
    139                 if (osmDataServer.endsWith("/0.2") || osmDataServer.endsWith("/0.2/")) {
    140                         int answer = JOptionPane.showConfirmDialog(Main.parent,
    141                                         "You seem to have an outdated server entry in your preferences.\n" +
    142                                         "\n" +
    143                                         "As of JOSM Release 1.2, you must no longer specify the API version in\n" +
    144                                         "the osm url. For the OSM standard server, use http://www.openstreetmap.org/api" +
    145                                         "\n" +
    146                                         "Fix settings and continue?", "Outdated server url detected.", JOptionPane.YES_NO_OPTION);
    147                         if (answer != JOptionPane.YES_OPTION)
    148                                 return;
    149                         int cutPos = osmDataServer.endsWith("/0.2") ? 4 : 5;
    150                         Main.pref.put("osm-server.url", osmDataServer.substring(0, osmDataServer.length()-cutPos));
    151                 }
    152 
    153137                JPanel dlg = new JPanel(new GridBagLayout());
    154138
Note: See TracChangeset for help on using the changeset viewer.