Skip to content

Commit 0aa7079

Browse files
authored
Update BuildingShapeUtils.js (#130)
1 parent 3c771d7 commit 0aa7079

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extras/BuildingShapeUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ class BuildingShapeUtils extends ShapeUtils {
1717
// Initialize objects
1818
const shape = new Shape();
1919
var ref;
20-
const nodes = [];
20+
const nodes = [];
2121

2222
// Get all the nodes in the way of interest
2323
/** {HTMLCollection} */
2424
const elements = way.getElementsByTagName('nd');
2525

2626
// Get the coordinates of all the nodes and add them to the shape outline.
27-
27+
2828
for (const element of elements) {
2929
ref = element.getAttribute('ref');
3030
nodes.push(nodelist[ref]);

0 commit comments

Comments
 (0)