fixed panBy
This commit is contained in:
parent
0f2bf17a51
commit
afcc3183a9
@ -90,7 +90,8 @@ L.CanvasLayer = L.Class.extend({
|
||||
if (this.options.zoomAnimation) {
|
||||
map.on({
|
||||
'zoomanim': this._animateZoom,
|
||||
'zoomend': this._endZoomAnim
|
||||
'zoomend': this._endZoomAnim,
|
||||
'moveend': this._reset
|
||||
}, this);
|
||||
}
|
||||
|
||||
@ -160,6 +161,7 @@ L.CanvasLayer = L.Class.extend({
|
||||
map.off({
|
||||
'viewreset': this._reset,
|
||||
'move': this._render,
|
||||
'moveend': this._reset,
|
||||
'resize': this._reset,
|
||||
'zoomanim': this._animateZoom,
|
||||
'zoomend': this._endZoomAnim
|
||||
|
Loading…
Reference in New Issue
Block a user