AnsweredAssumed Answered

Sample code for AGSMapContentsTree for iOS?

Question asked by usdaers on Sep 10, 2014
Latest reply on Sep 11, 2014 by DGoyal-esristaff

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!

Outcomes