Unbind 'move' event properly
This commit is contained in:
parent
f9e6b4f2f9
commit
88b2be378d
@ -161,7 +161,7 @@ L.CanvasLayer = L.Layer.extend({
|
||||
this._container.parentNode.removeChild(this._container);
|
||||
map.off({
|
||||
'viewreset': this._reset,
|
||||
'move': this._render,
|
||||
'move': this.redraw,
|
||||
'moveend': this._reset,
|
||||
'resize': this._reset,
|
||||
'zoomanim': this._animateZoom,
|
||||
|
Loading…
Reference in New Issue
Block a user