Hello ,
I am looking for the code snippet to find the current visible layers of a given DynamicMapservice.
During application startup, dynamicmapservice loads all visible layers on the map(defined in the mxd). But after a while users can TURNON/TURNOFF layers. And when I do the QUERYTASK, I should be able to QUERY only the CURRENT visible layers.
Thanks
Sanjay