diff --git a/umap/static/umap/js/umap.layer.js b/umap/static/umap/js/umap.layer.js index 6568ba23..02a8ab24 100644 --- a/umap/static/umap/js/umap.layer.js +++ b/umap/static/umap/js/umap.layer.js @@ -1195,7 +1195,7 @@ L.U.DataLayer = L.Evented.extend({ }, isReadOnly: function () { - return !this.options.allowEdit + return this.options.allowEdit === false }, save: function () {