I'm trying to implement the Leaflet.MarkerCluster.LayerSupport plugin following this example, however while it seems easy to add and remove data using buttons, there is nothing here to indicate one can use the same format with an external checkbox input.
I've been trying to take apart the L.controls inside the map for using externally but it seems that's rather difficult as its built around leaflet.js code. Does anyone have any suggestions for how the same functions for Leaflet.MarkerCluster.LayerSupport called upon by a button with "data-group="2" data-op="checkOut" (for example) could be applied to an external checkbox?