Solved! Go to Solution.
I have a service with two layers. Using the AGSJS TOC widget is there a way to hide one layer from the TOC (not the map), while still keeping the 2nd layer in the service within the TOC and able to be turned on and off?
I have a service with two layers. Using the AGSJS TOC widget is there a way to hide one layer from the TOC (not the map), while still keeping the 2nd layer in the service within the TOC and able to be turned on and off?