mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
chore: remove 'postsync' event
This commit is contained in:
parent
6d56bbb5de
commit
0dbac92853
3 changed files with 1 additions and 3 deletions
|
@ -251,7 +251,6 @@ export default class Importer {
|
|||
}
|
||||
|
||||
full() {
|
||||
this.umap._leafletMap.once('postsync', this.umap._leafletMap._setDefaultCenter)
|
||||
try {
|
||||
if (this.files.length) {
|
||||
for (const file of this.files) {
|
||||
|
|
|
@ -193,7 +193,6 @@ export class MapPermissions extends ServerStored {
|
|||
)
|
||||
if (!error) {
|
||||
this.commit()
|
||||
this.umap._leafletMap.fire('postsync')
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1504,7 +1504,7 @@ export default class Umap extends ServerStored {
|
|||
datalayer.redraw()
|
||||
})
|
||||
this.propagate()
|
||||
this._leafletMap.fire('postsync')
|
||||
this._leafletMap._setDefaultCenter()
|
||||
this.isDirty = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue