Adaptation of previous changes to the change from 61241e7 (null instead of undefined as the initial value)
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user