Ignore:
Timestamp:
2010-08-03T22:06:36+02:00 (14 years ago)
Author:
bastiK
Message:

fixed #5275 - Displayed co-ordinate precision adjustment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java

    r2850 r3411  
    179179    private void updateBboxFields(Bounds area) {
    180180        if (area == null) return;
    181         latlon[0].setText(Double.toString(area.getMin().lat()));
    182         latlon[1].setText(Double.toString(area.getMin().lon()));
    183         latlon[2].setText(Double.toString(area.getMax().lat()));
    184         latlon[3].setText(Double.toString(area.getMax().lon()));
     181        latlon[0].setText(LatLon.cDdFormatter.format(area.getMin().lat()));
     182        latlon[1].setText(LatLon.cDdFormatter.format(area.getMin().lon()));
     183        latlon[2].setText(LatLon.cDdFormatter.format(area.getMax().lat()));
     184        latlon[3].setText(LatLon.cDdFormatter.format(area.getMax().lon()));
    185185        for (JTextField tf: latlon) {
    186186            resetErrorMessage(tf);
Note: See TracChangeset for help on using the changeset viewer.