Leaflet.StyledLayerControl
Leaflet.StyledLayerControl copied to clipboard
Activate layer by clicking on text
In the Plugin "Leaflet Categorized Layers" (https://github.com/robbiet480/leaflet-categorized-layers) there is the opportunity to activate the layers by clicking the checkboxes or radiobuttons and by clicking the text of the layer. This is more user friendly using on mobile devices because you have more area to touch.
I'd be glad to sponsor this development.
One of the Pull Request changes https://github.com/davicustodio/Leaflet.StyledLayerControl/pull/30 is "Ability to click on a layer name to toggle the layer visibility". Does not that solve the problem?