We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20ec54f commit 4081b02Copy full SHA for 4081b02
src/extras/BuildingShapeUtils.js
@@ -92,8 +92,8 @@ class BuildingShapeUtils extends ShapeUtils {
92
i++;
93
changed = true;
94
} else if (way1[0].getAttribute('ref') === way2[0].getAttribute('ref')) {
95
- const tempway = BuildingShapeUtils.reverseWay(ways[i]);
96
- const result = BuildingShapeUtils.joinWays(tempway, ways[i + 1]);
+ const tempway = BuildingShapeUtils.reverseWay(ways[i+1]);
+ const result = BuildingShapeUtils.joinWays(tempway, ways[i]);
97
openWays.push(result);
98
99
0 commit comments