Hi,
did anyone build or find a solution for changing a listitem's parent and sublayers' visible when it is clicked in layerlist widget?
thank you.
Hi,Thanks for your reply. When a listitem's visibile is changed to true, it has looped to walk through the parent setting visible attribute to true,but as the same time, I want to set it's all children's visible attribute to true. How to do this?
In that sample you can just loop through the children and set their visibility too.