Method that copies properties from another object moved to the BaseObject class. Not using getProperties() to avoid creating an intermediate object that is not used later
This commit is contained in:
@@ -61,7 +61,7 @@ class MultiPoint extends SimpleGeometry {
|
||||
this.flatCoordinates.slice(),
|
||||
this.layout
|
||||
);
|
||||
multiPoint.importPropertiesFrom(this);
|
||||
multiPoint.applyProperties(this);
|
||||
return multiPoint;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user