* Do not resetView on GridLayer.moveEnd (fix #4617) * Only call GridLayer._setZoomTransform when zoomchanged
This commit is contained in:
parent
8cb745ce0a
commit
87e38f1aa4
@ -529,7 +529,9 @@ L.GridLayer = L.Layer.extend({
|
||||
this._noPrune = !!noPrune;
|
||||
}
|
||||
|
||||
this._setZoomTransforms(center, zoom);
|
||||
if (tileZoomChanged) {
|
||||
this._setZoomTransforms(center, zoom);
|
||||
}
|
||||
},
|
||||
|
||||
_setZoomTransforms: function (center, zoom) {
|
||||
|
Loading…
Reference in New Issue
Block a user