Hi, does anyone have some sample code showing how to use the new AGSMapContentsTree, AGSMapContentsLayerInfo and related classes? I found a short example in the updated LegendSample project, however, the TableOfContentsSample doesn't appear to use the new classes. I'm confused as to how the new classes relate to classes such as AGSMapServiceInfo and AGSDynamicMapServiceLayer.
I'm trying to build a menu that combines the legend with the Table of Contents so user's can click on a legend item and change the map.
Thanks!