Changeset 3966 in josm


Ignore:
Timestamp:
Mar 9, 2011 11:48:50 AM (2 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.