We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c331a53 commit 929c07bCopy full SHA for 929c07b
src/extras/BuildingShapeUtils.js
@@ -128,7 +128,7 @@ class BuildingShapeUtils extends ShapeUtils {
128
// Check if the array contains ways which will together form a ring. Return the array if it does.
129
if (currentRingWays[0].querySelector('nd').getAttribute('ref') ===
130
currentRingWays[currentRingWays.length - 1].querySelector('nd:last-of-type').getAttribute('ref')) {
131
- if (this.isSelfIntersecting(this.joinAllWays(currentRingWays))) {
+ if (BuildingShapeUtils.isSelfIntersecting(BuildingShapeUtils.joinAllWays(currentRingWays))) {
132
return;
133
}
134
return currentRingWays;
0 commit comments