leaflet-panel-layers icon indicating copy to clipboard operation
leaflet-panel-layers copied to clipboard

dynamic control

Open mmirhi opened this issue 5 years ago • 0 comments

Hi

I am working on a map in which the user can select an option from a slider and depending on that option, I read a certain file and load it as an overlayer. I am using this great plugin to organize my overlayer groups. I am listening to the 'update' event of the slider. My issue is that everytime an option is chosen, the entire control panel is removed and reloaded, which makes the map very slow. Is there an update function of the control panel that wouldn't remove it?

Thank you

mmirhi avatar Aug 02 '18 19:08 mmirhi