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:
parent
d0cc1cdd3d
commit
c4b8e24dab
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
_dataUrl: function () {
|
||||
|
|
Loading…
Reference in a new issue