AnsweredAssumed Answered

How to know which dynamc map service the visible layer cam from in Nliu's TC widget

Question asked by zhujingx on Nov 4, 2014
Latest reply on Nov 24, 2014 by ykchin

I am using Nliu's TC widget in my application, it is great.  When I used the identifyTask to get the info for the visible layers, I could only identify layers from one map service. I used the code as following.


identifyParameters.layerIds =  dynamicMapServiceLayer.visibleLayers;


It seems I have to manually assigned which map service I am going to use. I have multiple map services show in the TOC. Is there a way could know that which map service the visible layer belong to?