Identify Popup - Multiple Mapservices

Discussion created by mstarr on Oct 25, 2011
I am working with the "Identify - Popup" sample.  as in the attached but it is not inheintly clear how I would add multiple layers from different map serivces, which may have overlapping layer numbers to the code.

Do I basically add addition parameter names for the different map services and pass those to the function executeIdentifyTask(evt)?  Or do I need a new function for each map service?

Any help is appreciated..

Thank you,