Getting names and IDs of layers in an AGSDynamicMapServiceLayer

Discussion created by rmartin4 on Jul 6, 2011
Latest reply on Jul 8, 2011 by rmartin4

I am trying to create an NSDictionary of layer names and IDs contained by an AGSDynamicMapServiceLayer. I've tried using the visibleLayers property, but the NSArray it returns is null. (I know this isn't the case, however, since my map view is being drawn correctly). Am I going about this the wrong way?

Thank you in advance,
Robert Martin