dash-leaflet icon indicating copy to clipboard operation
dash-leaflet copied to clipboard

LayerGroup doesnt affect colorbars

Open areed145 opened this issue 3 years ago • 3 comments

If I include a GeoJSON layer and Colorbar in the same LayerGroup, the controls only affect the GeoJSON layer. I have 5 different cluster layer options... is there an alternative way for the colorbar to turn off when a layer is de-selected?

areed145 avatar Nov 05 '22 07:11 areed145

Hi, wondering if you have come up with a solution for this. Thx

co1yzha avatar Jan 30 '23 12:01 co1yzha

This seems to be a more general issue with the colorbar. I can't find a way to make callbacks work with colorbars. It seems like a static component. If anyone knows how to make callbacks work with colorbars, please enlighten us!

mullenkamp avatar Jul 13 '23 15:07 mullenkamp

Could you post a small example demonstrating the issue?

emilhe avatar Aug 25 '23 08:08 emilhe