We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a32d55f commit 1d615d1Copy full SHA for 1d615d1
1 file changed
plugins/GeometryDigitizer.jsx
@@ -427,7 +427,7 @@ class GeometryDigitizer extends React.Component {
427
features.push(this.props.redlining.selectedFeature);
428
}
429
430
- const invalidPoly = features.find(feature => feature.geometry.type === "Polygon" && !isEmpty(polySelfIntersections(feature).geometry.coordinates));
+ const invalidPoly = features.find(feature => feature.geometry.type === "Polygon" && !isEmpty(polySelfIntersections(feature)));
431
if (invalidPoly) {
432
/* eslint-disable-next-line */
433
alert(LocaleUtils.tr("geomdigitizer.selfinter"));
0 commit comments