@opengeoweb/form-fields 9.37.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -296,7 +296,7 @@ var countIntersectionPoints = function countIntersectionPoints(geojson, intersec
|
|
|
296
296
|
return collisionPoints.length;
|
|
297
297
|
};
|
|
298
298
|
var isGeometryDirty = function isGeometryDirty(geoJSON, formGeoJSON) {
|
|
299
|
-
if (geoJSON
|
|
299
|
+
if (!geoJSON || !formGeoJSON || !hasValidGeometry(geoJSON) || !hasValidGeometry(formGeoJSON)) {
|
|
300
300
|
return false;
|
|
301
301
|
}
|
|
302
302
|
return !isEqual(
|