Changeset 9408 in josm
- Timestamp:
- 2016-01-11T14:39:52+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r9405 r9408 600 600 601 601 private class ZoomData { 602 private final LatLoncenter;602 private final EastNorth center; 603 603 private final double scale; 604 604 605 605 ZoomData(EastNorth center, double scale) { 606 this.center = Projections.inverseProject(center);606 this.center = center; 607 607 this.scale = scale; 608 608 } 609 609 610 610 public EastNorth getCenterEastNorth() { 611 return getProjection().latlon2eastNorth(center);611 return center; 612 612 } 613 613
Note:
See TracChangeset
for help on using the changeset viewer.