- Timestamp:
- 2011-03-08T10:16:24+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/OffsetBookmark.java
r3872 r3962 13 13 import org.openstreetmap.josm.Main; 14 14 import org.openstreetmap.josm.data.coor.LatLon; 15 import org.openstreetmap.josm.data.projection.Mercator; 15 16 import org.openstreetmap.josm.data.projection.Projection; 17 import org.openstreetmap.josm.data.projection.ProjectionInfo; 16 18 import org.openstreetmap.josm.data.projection.Projections; 17 import org.openstreetmap.josm.data.projection.ProjectionInfo;18 19 import org.openstreetmap.josm.gui.layer.ImageryLayer; 19 20 … … 66 67 this.centerX = Double.valueOf(array.get(5)); 67 68 this.centerY = Double.valueOf(array.get(6)); 69 } 70 // Mercator scale factor migration 71 if (proj instanceof Mercator && this.dx < 1E-3 && this.dy < 1E-3) { 72 this.dx *= 6378137; 73 this.dy *= 6378137; 68 74 } 69 75 if (proj == null) {
Note:
See TracChangeset
for help on using the changeset viewer.