fix tile loading regression after rebase
This commit is contained in:
parent
8b26a7399a
commit
66c13bc94c
@ -278,10 +278,10 @@ L.GridLayer = L.Layer.extend({
|
||||
tileZoom = Math.round(zoom),
|
||||
tileZoomChanged = this._tileZoom !== tileZoom;
|
||||
|
||||
if (this._abortLoading) {
|
||||
this._abortLoading();
|
||||
}
|
||||
if (tileZoomChanged || e && e.hard) {
|
||||
if (this._abortLoading) {
|
||||
this._abortLoading();
|
||||
}
|
||||
this._tileZoom = tileZoom;
|
||||
this._updateLevels();
|
||||
this._resetGrid();
|
||||
|
Loading…
Reference in New Issue
Block a user