In a Leaflet-based app I have create several overlays, grouped with leaflet.groupedlayercontrol.js, as shown in this image:
Everything works well, but I need to uncheck certain layers, allowing the user to check them if needed (the app should open with Heatmap and Geometries on, and the others off).I have references both to the layers and to the control object. How can I check/uncheck these overlays without removing them from the map object?
أكثر...

Everything works well, but I need to uncheck certain layers, allowing the user to check them if needed (the app should open with Heatmap and Geometries on, and the others off).I have references both to the layers and to the control object. How can I check/uncheck these overlays without removing them from the map object?
أكثر...