From caf7c2e6c6db90e275b808fd479f4f9b48bb6e84 Mon Sep 17 00:00:00 2001 From: Mihai Varga Date: Fri, 24 Apr 2015 17:21:38 +0300 Subject: [PATCH] The map should not trace a resize event The container div should handle the resize by updating the scrollbars This fixes the map crash during window resize. --- loleaflet/src/map/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index 4b2c943c9..2524f5cef 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -14,7 +14,7 @@ L.Map = L.Evented.extend({ */ fadeAnimation: true, - trackResize: true, + trackResize: false, markerZoomAnimation: true },