AnsweredAssumed Answered

Toggle Services Sample Question

Question asked by PinnGIS on Apr 8, 2013
Latest reply on Apr 8, 2013 by PinnGIS
Quick question.  In the Legend -toggle Services Sample (http://developers.arcgis.com/en/javascript/jssamples/widget_legendvisible.html) there are two onLayersAddResult events in the JS script.  One is used for the Legend the other for adding the toggle services.

Why have two events, could they not both be in the same event?  What is the advantage to having them in separate events?

Thanks,

Outcomes