Changeset 12735 in josm for trunk/src/org/openstreetmap/josm/gui/widgets
- Timestamp:
- 2017-09-05T17:58:01+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/BoundingBoxSelectionPanel.java
r12304 r12735 17 17 18 18 import org.openstreetmap.josm.data.Bounds; 19 import org.openstreetmap.josm.data.coor.CoordinateFormat;20 19 import org.openstreetmap.josm.data.coor.LatLon; 20 import org.openstreetmap.josm.data.coor.conversion.DecimalDegreesCoordinateFormat; 21 21 import org.openstreetmap.josm.tools.GBC; 22 22 import org.openstreetmap.josm.tools.OsmUrlToBounds; … … 125 125 private void updateBboxFields(Bounds area) { 126 126 if (area == null) return; 127 tfLatLon[0].setText( area.getMin().latToString(CoordinateFormat.DECIMAL_DEGREES));128 tfLatLon[1].setText( area.getMin().lonToString(CoordinateFormat.DECIMAL_DEGREES));129 tfLatLon[2].setText( area.getMax().latToString(CoordinateFormat.DECIMAL_DEGREES));130 tfLatLon[3].setText( area.getMax().lonToString(CoordinateFormat.DECIMAL_DEGREES));127 tfLatLon[0].setText(DecimalDegreesCoordinateFormat.INSTANCE.latToString(area.getMin())); 128 tfLatLon[1].setText(DecimalDegreesCoordinateFormat.INSTANCE.lonToString(area.getMin())); 129 tfLatLon[2].setText(DecimalDegreesCoordinateFormat.INSTANCE.latToString(area.getMax())); 130 tfLatLon[3].setText(DecimalDegreesCoordinateFormat.INSTANCE.lonToString(area.getMax())); 131 131 } 132 132
Note:
See TracChangeset
for help on using the changeset viewer.