Changeset 37 in josm


Ignore:
Timestamp:
2006-01-01T21:20:50+01:00 (18 years ago)
Author:
imi
Message:

Fixed lat/lon display in download dialog

Location:
src/org/openstreetmap/josm
Files:
2 edited

Legend:

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

    r35 r37  
    6262                dlg.add(new JLabel("Bounding box"), GBC.eol());
    6363
     64                dlg.add(new JLabel("min lat"), GBC.std().insets(10,0,5,0));
     65                dlg.add(latlon[0], GBC.std());
    6466                dlg.add(new JLabel("min lon"), GBC.std().insets(10,0,5,0));
    65                 dlg.add(latlon[0], GBC.std());
    66                 dlg.add(new JLabel("min lat"), GBC.std().insets(10,0,5,0));
    6767                dlg.add(latlon[1], GBC.eol());
     68                dlg.add(new JLabel("max lat"), GBC.std().insets(10,0,5,0));
     69                dlg.add(latlon[2], GBC.std());
    6870                dlg.add(new JLabel("max lon"), GBC.std().insets(10,0,5,0));
    69                 dlg.add(latlon[2], GBC.std());
    70                 dlg.add(new JLabel("max lat"), GBC.std().insets(10,0,5,0));
    7171                dlg.add(latlon[3], GBC.eop());
    7272
  • src/org/openstreetmap/josm/io/OsmServerReader.java

    r35 r37  
    7878         */
    7979        public DataSet parseOsm() throws JDOMException, IOException {
     80                long start = System.currentTimeMillis();
    8081                Reader r = getReader(Main.pref.osmDataServer+"/map?bbox="+lon1+","+lat1+","+lon2+","+lat2);
     82                System.out.println(System.currentTimeMillis() - start);
    8183                if (r == null)
    8284                        return null;
Note: See TracChangeset for help on using the changeset viewer.