ismyrnow / leaflet-groupedlayercontrol

Leaflet layer control with support for grouping overlays together.
MIT License
274 stars 141 forks source link

Uncaught Type Error #53

Open Poldy1705 opened 7 years ago

Poldy1705 commented 7 years ago

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

kingrollo commented 7 years ago

Did you post this in the wrong place? If not, you've uploaded the wrong version of your code.

Poldy1705 commented 7 years ago

Sorry, wrong place....