loleaflet/src/layer/tile/GridLayer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 89d005986733f8b5f7d6d4fef3d0603cc8c4eb95 Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Wed Aug 15 18:41:46 2018 +0200 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Mon Aug 20 18:03:28 2018 +0200 Update visibla area first before requesting new tiles Change-Id: I379e4d92adf34bf16a1990123328b75c50f13df2 (cherry picked from commit eb448a6dd9b5d9f6558d2c3fd9510757ec77537e) Reviewed-on: https://gerrit.libreoffice.org/59325 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> diff --git a/loleaflet/src/layer/tile/GridLayer.js b/loleaflet/src/layer/tile/GridLayer.js index 720fc2697..a337e3835 100644 --- a/loleaflet/src/layer/tile/GridLayer.js +++ b/loleaflet/src/layer/tile/GridLayer.js @@ -541,6 +541,10 @@ L.GridLayer = L.Layer.extend({ } } + this._sendClientVisibleArea(); + + this._sendClientZoom(); + if (queue.length !== 0) { if (newView) { // we know that a new set of tiles that cover the whole view has been requested @@ -558,10 +562,6 @@ L.GridLayer = L.Layer.extend({ this._addTiles(queue, fragment); this._level.el.appendChild(fragment); } - - this._sendClientVisibleArea(); - - this._sendClientZoom(); }, _updateOnChangePart: function () { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits