jjimenezshaw / Leaflet.Control.Layers.Tree

a Tree Layers Control for Leaflet
https://jjimenezshaw.github.io/Leaflet.Control.Layers.Tree/examples/basic.html
BSD 3-Clause "New" or "Revised" License
146 stars 36 forks source link

There is any possibility to implement an opacity slider control for each layer? #21

Closed Tzontonel closed 4 years ago

Tzontonel commented 4 years ago

Does the code support opacity control for each layer from the tree? How can achieve this? I suppose that you need to put an input slider on each active layer, right?

jjimenezshaw commented 4 years ago

Something like this? https://next.plnkr.co/edit/54ixRjHhdz5HBr2T

Tzontonel commented 4 years ago

Thank you for your time and knowledge, works fine on mobile devices, especially the UI input sliders.

MickGe commented 3 years ago

Thank you very much ! You help me to add dblclick in overlay to fly to marker. Link here to my codesandbox if it can help others like me. 😉