Ignore:
Timestamp:
2017-05-15T15:57:36+02:00 (3 years ago)
Author:
michael2402
Message:

Make use of ILatLon#getEastNorth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r12161 r12163  
    282282        case DEGREES_MINUTES_SECONDS: return dms(y) + ((y < 0) ? SOUTH : NORTH);
    283283        case NAUTICAL: return dm(y) + ((y < 0) ? SOUTH : NORTH);
    284         case EAST_NORTH: return cDdFormatter.format(Main.getProjection().latlon2eastNorth(this).north());
     284        case EAST_NORTH: return cDdFormatter.format(this.getEastNorth().north());
    285285        default: return "ERR";
    286286        }
     
    302302        case DEGREES_MINUTES_SECONDS: return dms(x) + ((x < 0) ? WEST : EAST);
    303303        case NAUTICAL: return dm(x) + ((x < 0) ? WEST : EAST);
    304         case EAST_NORTH: return cDdFormatter.format(Main.getProjection().latlon2eastNorth(this).east());
     304        case EAST_NORTH: return cDdFormatter.format(this.getEastNorth().east());
    305305        default: return "ERR";
    306306        }
Note: See TracChangeset for help on using the changeset viewer.