Changeset 3966 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2011-03-09T11:48:50+01:00 (11 years ago)
Author:
Upliner
Message:

use abs in offset conversion re #6049

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/OffsetBookmark.java

    r3962 r3966  
    6969        }
    7070        // Mercator scale factor migration
    71         if (proj instanceof Mercator && this.dx < 1E-3 && this.dy < 1E-3) {
     71        if (proj instanceof Mercator && Math.abs(this.dx) < 1E-3 && Math.abs(this.dy) < 1E-3) {
    7272            this.dx *= 6378137;
    7373            this.dy *= 6378137;
Note: See TracChangeset for help on using the changeset viewer.