Merge pull request #1757 from umap-project/fix-browser-on-save
fix: prevent rebuilding the browser at each save
This commit is contained in:
commit
1bd1511d6d
1 changed files with 1 additions and 1 deletions
|
@ -845,8 +845,8 @@ U.DataLayer = L.Evented.extend({
|
||||||
this.map.datalayers[id] = this
|
this.map.datalayers[id] = this
|
||||||
if (L.Util.indexOf(this.map.datalayers_index, this) === -1)
|
if (L.Util.indexOf(this.map.datalayers_index, this) === -1)
|
||||||
this.map.datalayers_index.push(this)
|
this.map.datalayers_index.push(this)
|
||||||
|
this.map.onDataLayersChanged()
|
||||||
}
|
}
|
||||||
this.map.onDataLayersChanged()
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_dataUrl: function () {
|
_dataUrl: function () {
|
||||||
|
|
Loading…
Reference in a new issue