Skip to content

Commit a4ff57e

Browse files
authored
Update BuildingShapeUtils.js
1 parent 2c40c37 commit a4ff57e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/extras/BuildingShapeUtils.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ class BuildingShapeUtils extends ShapeUtils {
6060
if (BuildingShapeUtils.isClosed(way)){
6161
// Drop the final node.
6262
}
63-
// Check if the same node ref appears multiple times
63+
// create empty array
64+
// foreach (node in way)
65+
// if (the ref value exists in the array)
66+
// return true;
67+
// push ref value to array
68+
// return false;
6469
}
6570

6671
/**

0 commit comments

Comments
 (0)