nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 3a4ea140ef9e2aa2faaef021bfa7fe710d618e53
parent 33e36b7e2cff91cdf577138cff52d0becee6b33a
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat, 18 Feb 2017 01:58:57 +0300

removed disabling updateWhenZooming for all grid layers

Diffstat:
Msrc/lib/leaflet.fixes/index.js | 8--------
1 file changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/lib/leaflet.fixes/index.js b/src/lib/leaflet.fixes/index.js @@ -3,7 +3,6 @@ import L from 'leaflet'; function fixAll() { fixPanAnimationBug(); fixTouchDetection(); - disableGridLayerUpdateWhenZooming(); } // https://github.com/Leaflet/Leaflet/issues/3575 @@ -26,11 +25,4 @@ function fixTouchDetection() { L.Browser.touch &= (navigator.pointerEnabled || navigator.maxTouchPoints) } -function disableGridLayerUpdateWhenZooming() { - L.GridLayer.addInitHook(function() { - this.options.updateWhenZooming = false; - } - ); -} - export {fixAll}