Hello Jim - this is great, thank you! Would you mind providing a full example of how you implement your layerList_Expandall function in a map? I'm still quite new to JavaScript. I've been able to get this portion to work in my code, but it doesn't always consistently run (ex: it will sometimes only open the first portion of my legend, but leave the rest of the sublayers closed or not open anything all, both when calling it via window.onload). I know I'm doing something wrong, but I can't seem to place what it is. Thank you in advance - your sample code has definitely helped me out a lot!
... View more