AnsweredAssumed Answered

onLayersAddResult not firing

Question asked by nobleach on Aug 15, 2012
Latest reply on Aug 16, 2012 by nobleach
I have connected an onLayersAddResult event to my map using dojo connect.

You can see an example at

Even though I'm adding 3 layers, the event never fires. Is it because I'm using ArcGISDynamicMapServiceLayer?

Is there anyway to enumerate the info from the last layer I load? I'd like to use it to create a TOC and a Legend.