Make DataLayer.isReadOnly explicit and true by default

This commit is contained in:
Yohan Boniface 2023-09-08 09:41:17 +02:00
parent 3d2e62c858
commit 76239ef55c

View file

@ -1195,7 +1195,7 @@ L.U.DataLayer = L.Evented.extend({
}, },
isReadOnly: function () { isReadOnly: function () {
return !this.options.allowEdit return this.options.allowEdit === false
}, },
save: function () { save: function () {