Changeset 8549 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2015-07-01T19:51:35+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/MoveCommand.java
r8447 r8549 69 69 */ 70 70 public MoveCommand(Node node, LatLon position) { 71 this(Collections.singleton((OsmPrimitive) node), node.getEastNorth().sub(Projections.project(position)));71 this(Collections.singleton((OsmPrimitive) node), Projections.project(position).subtract(node.getEastNorth())); 72 72 } 73 73
Note: See TracChangeset
for help on using the changeset viewer.