Skip to content

Commit 39f84e9

Browse files
authored
Update BuildingShapeUtils.js
1 parent e192ba5 commit 39f84e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extras/BuildingShapeUtils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ class BuildingShapeUtils extends ShapeUtils {
8686
i++;
8787
changed = true;
8888
} else if (way1[0].getAttribute('ref') === way2[0].getAttribute('ref')) {
89-
const tempway = BuildingShapeUtils.reverseWay(ways[i])
89+
const tempway = BuildingShapeUtils.reverseWay(ways[i]);
9090
const result = BuildingShapeUtils.joinWays(tempway, ways[i + 1]);
9191
} else if (way1[way1.length - 1].getAttribute('ref') === way2[way2.length - 1].getAttribute('ref')) {
92-
const tempway = BuildingShapeUtils.reverseWay(ways[i + 1])
92+
const tempway = BuildingShapeUtils.reverseWay(ways[i + 1]);
9393
const result = BuildingShapeUtils.joinWays(ways[i], tempway);
9494
} else {
9595
openWays.push(ways[i]);
@@ -141,7 +141,7 @@ class BuildingShapeUtils extends ShapeUtils {
141141
}
142142
return newWay;
143143
}
144-
144+
145145
/**
146146
* Find the center of a closed way
147147
*

0 commit comments

Comments
 (0)