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!
Have you checked out Esri/preview-app-osx · GitHub ? It uses the AGSMapContentTree to build a Table of Contents. Although it is a mac app, the usage would be similar for iOS.