Ignore:
Timestamp:
2017-04-05T20:38:08+02:00 (3 years ago)
Author:
bastiK
Message:

see #7427 - avoid roundtrip conversion EastNorth -> LatLon -> EastNorth

This circumvents LatLon clamping, so may have an impact on display near lon=+/-180 degrees

File:
1 edited

Legend:

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

    r11830 r11844  
    22package org.openstreetmap.josm.data.coor;
    33
     4import org.openstreetmap.gui.jmapviewer.Projected;
    45import org.openstreetmap.gui.jmapviewer.interfaces.IProjected;
    56
     
    181182    }
    182183
     184    public IProjected toProjected() {
     185        return new Projected(east(), north());
     186    }
     187
    183188    @Override
    184189    public String toString() {
Note: See TracChangeset for help on using the changeset viewer.