AnsweredAssumed Answered

NLiu's Table of Contents(TOC)/Legend widget and Visibility States

Question asked by adevine on Mar 9, 2012
Latest reply on Nov 5, 2014 by zhujingx
Hi Forum,

I am using NLiu's TOC Widget in a web application I am developing: http://www.arcgis.com/home/item.html?id=9c43bdf76a23452ba1d95684f7cd76d8

It is a great widget and it is working great, except one thing... I also have an Identify task that I would like to be able to only have work on the visible layers, but as the widget is handling the visibility, it has effectively "blackboxed" the layer visibility state for me. I was hoping to be able to obtain an array from the TOC widget and feed that to my identify task so that it had the latest info on what should be returned, but I am stymied. Any tips?

Thank you, in advance, for any help.

Alex DeVine
University of Georgia

Outcomes