We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c771d7 commit 0aa7079Copy full SHA for 0aa7079
src/extras/BuildingShapeUtils.js
@@ -17,14 +17,14 @@ class BuildingShapeUtils extends ShapeUtils {
17
// Initialize objects
18
const shape = new Shape();
19
var ref;
20
- const nodes = [];
+ const nodes = [];
21
22
// Get all the nodes in the way of interest
23
/** {HTMLCollection} */
24
const elements = way.getElementsByTagName('nd');
25
26
// Get the coordinates of all the nodes and add them to the shape outline.
27
-
+
28
for (const element of elements) {
29
ref = element.getAttribute('ref');
30
nodes.push(nodelist[ref]);
0 commit comments