Make DataLayer.isReadOnly explicit and true by default

This commit is contained in:
Yohan Boniface 2023-09-08 09:41:17 +02:00
parent f752f2e13f
commit f10924c1a0

View file

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