First thanks for a very nice plugin (now I've got it working 👍 )
I'm trying to get to the situation whereby clicking on a group expands its children but closes any other already expanded groups, I've tried using collapseTree and expandSelected but it seems to work once then locks up.
It may be that I'm not sure what to use as the trigger selector (I'm using leaflet-layerstree-header)
Thanks for any help
First thanks for a very nice plugin (now I've got it working 👍 ) I'm trying to get to the situation whereby clicking on a group expands its children but closes any other already expanded groups, I've tried using collapseTree and expandSelected but it seems to work once then locks up. It may be that I'm not sure what to use as the trigger selector (I'm using leaflet-layerstree-header) Thanks for any help