From 756888cee7f2377b02e229de667d2a8cf5b71ab3 Mon Sep 17 00:00:00 2001 From: kerryarts Date: Thu, 20 Nov 2014 17:11:02 +1300 Subject: [PATCH] default zIndex to be a valid value to fix exception in ie8 --- src/layer/tile/GridLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layer/tile/GridLayer.js b/src/layer/tile/GridLayer.js index 9d102efa..041b6ab1 100644 --- a/src/layer/tile/GridLayer.js +++ b/src/layer/tile/GridLayer.js @@ -15,7 +15,7 @@ L.GridLayer = L.Layer.extend({ updateInterval: 200, attribution: null, - zIndex: null, + zIndex: 'auto', bounds: null, minZoom: 0