Unbind 'move' event properly

This commit is contained in:
Pablo Alonso Garcia 2017-03-27 12:22:12 +02:00
parent f9e6b4f2f9
commit 88b2be378d

View File

@ -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,