Leaflet.StyledLayerControl icon indicating copy to clipboard operation
Leaflet.StyledLayerControl copied to clipboard

Activate layer by clicking on text

Open Poldy1705 opened this issue 7 years ago • 2 comments

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.

Poldy1705 avatar Jul 24 '17 10:07 Poldy1705

I'd be glad to sponsor this development.

dkwiebe avatar Nov 16 '17 17:11 dkwiebe

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?

davicustodio avatar Nov 17 '17 10:11 davicustodio