I'm having a problem using Leaflet 1.2.0 with WFS and control Layers, WFS works fine, however when I use it with control.layers (see code bellow) it does not work and it returns an error:
Uncaught TypeError: Can not read property 'minZoom' of undefined
If using with version 0.6 works but I can not use it because of its limitations. Can someone please help me?
The code is here in git: https://github.com/eltonsantos/leaflet-tests/blob/master/teste14/index.html
and here in jsfiddle: https://jsfiddle.net/eltin182/amg80r7j/3/