Changeset 12213 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2017-05-18T23:43:13+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapViewState.java
r12162 r12213 395 395 Bounds b = Optional.ofNullable(DownloadDialog.getSavedDownloadBounds()).orElseGet( 396 396 () -> Main.getProjection().getWorldBoundsLatLon()); 397 return Main.getProjection().latlon2eastNorth(b.getCenter());397 return b.getCenter().getEastNorth(); 398 398 } 399 399 -
trunk/src/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDataText.java
r12161 r12213 191 191 if (bbox != null) { 192 192 add(tr("Bounding box: "), bbox.toStringCSV(", ")); 193 EastNorth bottomRigth = Main.getProjection().latlon2eastNorth(bbox.getBottomRight());194 EastNorth topLeft = Main.getProjection().latlon2eastNorth(bbox.getTopLeft());193 EastNorth bottomRigth = bbox.getBottomRight().getEastNorth(); 194 EastNorth topLeft = bbox.getTopLeft().getEastNorth(); 195 195 add(tr("Bounding box (projected): "), 196 196 Double.toString(topLeft.east()), ", ",
Note:
See TracChangeset
for help on using the changeset viewer.