From f732db9fa3fa45ac02a423f765cfcc424352dcde Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 5 May 2023 18:40:04 +0200 Subject: [PATCH] Delete _storage_options when save a feature fix #1076 --- umap/static/umap/js/umap.features.js | 1 + 1 file changed, 1 insertion(+) diff --git a/umap/static/umap/js/umap.features.js b/umap/static/umap/js/umap.features.js index a238c10f..2908a7ac 100644 --- a/umap/static/umap/js/umap.features.js +++ b/umap/static/umap/js/umap.features.js @@ -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; },