AnsweredAssumed Answered

is there a sample or code for a TOC that shows layer names with toggle boxes and symbology?

Question asked by dschatt on Mar 30, 2016
Latest reply on Mar 30, 2016 by evtguy

hi all, I'm fairly new to the Javascript API.  I want to add a standard table of contents that displays the layer names, toggle boxes to turn layer visibility off and on, and the symbology of the layers.  But I don't see any such sample.  There's a "Legend" sample that shows layer names and symbology, but doesn't have toggle boxes for visibility.  Thanks for any help!