fix: prevent rebuilding the browser at each save

Otherwise we lose the browser current context (some layer may
be opened, or user may have scrolled down)
This commit is contained in:
Yohan Boniface 2024-04-17 10:03:30 +02:00
parent d0cc1cdd3d
commit c4b8e24dab

View file

@ -845,8 +845,8 @@ U.DataLayer = L.Evented.extend({
this.map.datalayers[id] = this
if (L.Util.indexOf(this.map.datalayers_index, this) === -1)
this.map.datalayers_index.push(this)
this.map.onDataLayersChanged()
}
this.map.onDataLayersChanged()
},
_dataUrl: function () {