TOC/Legend Widget and sub layer popups

Discussion created by pkeegan on Nov 15, 2013
Latest reply on Apr 7, 2014 by erussell73
The wicked awesome TOC/Legend Widget allows users to change visibility of sub layers, but it does not control the popup on sub layers. This means a sub layer can be turned off but that sub layer's popup will still appear on a map click.

Any advice on how to use this tool to also control sub layer popup visibility?

This is the widget i am referring to:

Much thanks!