Ignore:
Timestamp:
2009-07-04T14:04:08+02:00 (10 years ago)
Author:
stoecker
Message:

fixed #2804 - move mode not working

Location:
trunk/src/org/openstreetmap/josm/data/coor
Files:
2 edited

Legend:

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

    r1724 r1728  
    2525    public final void setEastNorth(EastNorth eastNorth) {
    2626        proj = Main.proj;
    27         eastNorth = eastNorth;
     27        this.eastNorth = eastNorth;
    2828        LatLon l = proj.eastNorth2latlon(eastNorth);
    29         setLocation(l.lat(), l.lon());
     29        setLocation(l.lon(), l.lat());
    3030    }
    3131
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r1724 r1728  
    4747    public LatLon(double lat, double lon) {
    4848        super(lon, lat);
     49    }
     50
     51    public LatLon(LatLon coor) {
     52        super(coor.lon(), coor.lat());
    4953    }
    5054
Note: See TracChangeset for help on using the changeset viewer.