Adaptation of previous changes to the change from 61241e7 (null instead of undefined as the initial value)

This commit is contained in:
Michał Zielański
2020-06-24 09:54:56 +02:00
parent 61241e7f90
commit 235babfd7f
4 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ class Feature extends BaseObject {
*/
clone() {
const clone = new Feature(
this.hasProperties() ? this.getProperties() : undefined
this.hasProperties() ? this.getProperties() : null
);
clone.setGeometryName(this.getGeometryName());
const geometry = this.getGeometry();