I implemented the plugin in the Leaflet Version 1.0.3. and defined a lot of categorized layers.
It works all fine for initializing the map. But when you do some zooming or moving it throws the following error:
leaflet-src.js:13222 Uncaught TypeError: Cannot read property 'layer' of undefined
at NewClass._checkDisabledLayers (leaflet-src.js:13222)
at NewClass.fire (leaflet-src.js:587)
at NewClass._moveEnd (leaflet-src.js:3432)
at NewClass. (leaflet-src.js:3869)
I implemented the plugin in the Leaflet Version 1.0.3. and defined a lot of categorized layers. It works all fine for initializing the map. But when you do some zooming or moving it throws the following error:
leaflet-src.js:13222 Uncaught TypeError: Cannot read property 'layer' of undefined at NewClass._checkDisabledLayers (leaflet-src.js:13222) at NewClass.fire (leaflet-src.js:587) at NewClass._moveEnd (leaflet-src.js:3432) at NewClass. (leaflet-src.js:3869)
This is my index.html:
index_1.03.html.txt