Merge pull request #1757 from umap-project/fix-browser-on-save

fix: prevent rebuilding the browser at each save
This commit is contained in:
Yohan Boniface 2024-04-17 18:33:19 +02:00 committed by GitHub
commit 1bd1511d6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 () {