Changeset 16290 in osm for applications/editors/josm/plugins/Create_grid_of_ways/src
- Timestamp:
- 2009-07-03T12:34:14+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/Create_grid_of_ways/src/CreateGridOfWaysPlugin/CreateGridOfWaysAction.java
r14370 r16290 75 75 double latDif,lonDif; 76 76 for (Node n1 : nodesWay1) { 77 latDif = n1. coor.lat()-nodeCommon.coor.lat();78 lonDif = n1. coor.lon()-nodeCommon.coor.lon();77 latDif = n1.getCoor().lat()-nodeCommon.getCoor().lat(); 78 lonDif = n1.getCoor().lon()-nodeCommon.getCoor().lon(); 79 79 c2=0; 80 80 for (Node n2 : nodesWay2) { … … 89 89 continue; 90 90 } 91 Node nodeOfGrid = new Node(new LatLon(n2. coor.lat()+latDif,n2.coor.lon()+lonDif));91 Node nodeOfGrid = new Node(new LatLon(n2.getCoor().lat()+latDif,n2.getCoor().lon()+lonDif)); 92 92 cmds.add(new AddCommand(nodeOfGrid)); 93 93 w1[c1].nodes.add(nodeOfGrid);
Note:
See TracChangeset
for help on using the changeset viewer.