Changeset 8526 in josm for trunk/src/org/openstreetmap/josm/data/coor
- Timestamp:
- 2015-06-24T20:57:43+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r8510 r8526 17 17 import java.util.Locale; 18 18 19 import org.openstreetmap.gui.jmapviewer.interfaces.ICoordinate; 19 20 import org.openstreetmap.josm.Main; 20 21 import org.openstreetmap.josm.data.Bounds; … … 188 189 } 189 190 191 public LatLon(ICoordinate coor) { 192 this(coor.getLat(), coor.getLon()); 193 } 194 195 190 196 /** 191 197 * Returns the latitude, i.e., the north-south position in degrees. … … 434 440 return true; 435 441 } 442 443 public ICoordinate toCoordinate() { 444 return new org.openstreetmap.gui.jmapviewer.Coordinate(lat(), lon()); 445 } 436 446 }
Note:
See TracChangeset
for help on using the changeset viewer.