Delete _storage_options when save a feature

fix #1076
This commit is contained in:
Yohan Boniface 2023-05-05 18:40:04 +02:00
parent 25ab9f943c
commit f732db9fa3

View file

@ -301,6 +301,7 @@ L.U.FeatureMixin = {
toGeoJSON: function () {
var geojson = this.parentClass.prototype.toGeoJSON.call(this);
geojson.properties = this.cloneProperties();
delete geojson.properties._storage_options;
return geojson;
},