Changeset 4126 in josm for trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java
- Timestamp:
- 2011-06-07T19:05:14+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java
r3083 r4126 153 153 double x = xc + r*Math.cos(a); 154 154 double y = yc + r*Math.sin(a); 155 Node n = new Node(Main. proj.eastNorth2latlon(new EastNorth(x,y)));155 Node n = new Node(Main.getProjection().eastNorth2latlon(new EastNorth(x,y))); 156 156 wayToAdd.add(n); 157 157 cmds.add(new AddCommand(n)); … … 245 245 double x = xc + r*Math.cos(a); 246 246 double y = yc + r*Math.sin(a); 247 Node n = new Node(Main. proj.eastNorth2latlon(new EastNorth(x,y)));247 Node n = new Node(Main.getProjection().eastNorth2latlon(new EastNorth(x,y))); 248 248 wayToAdd.add(n); 249 249 cmds.add(new AddCommand(n));
Note:
See TracChangeset
for help on using the changeset viewer.