parent
1e1926b480
commit
04c3b515ec
@ -529,9 +529,7 @@ L.GridLayer = L.Layer.extend({
|
|||||||
this._noPrune = !!noPrune;
|
this._noPrune = !!noPrune;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tileZoomChanged) {
|
|
||||||
this._setZoomTransforms(center, zoom);
|
this._setZoomTransforms(center, zoom);
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_setZoomTransforms: function (center, zoom) {
|
_setZoomTransforms: function (center, zoom) {
|
||||||
@ -576,7 +574,7 @@ L.GridLayer = L.Layer.extend({
|
|||||||
_onMoveEnd: function () {
|
_onMoveEnd: function () {
|
||||||
if (!this._map || this._map._animatingZoom) { return; }
|
if (!this._map || this._map._animatingZoom) { return; }
|
||||||
|
|
||||||
this._resetView();
|
this._update();
|
||||||
},
|
},
|
||||||
|
|
||||||
_getTiledPixelBounds: function (center) {
|
_getTiledPixelBounds: function (center) {
|
||||||
|
Loading…
Reference in New Issue
Block a user