default zIndex to be a valid value to fix exception in ie8

This commit is contained in:
kerryarts 2014-11-20 17:11:02 +13:00
parent 2bd788a7da
commit 756888cee7

View File

@ -15,7 +15,7 @@ L.GridLayer = L.Layer.extend({
updateInterval: 200, updateInterval: 200,
attribution: null, attribution: null,
zIndex: null, zIndex: 'auto',
bounds: null, bounds: null,
minZoom: 0 minZoom: 0