The samples page is curiously missing a decent Table of Contents example. There's the Toggle Layer Visibility sample but that's about it.
Does can anyone point me to a decent Table of Contents sample for the JavaScript API? I need the ability to:The example here is promising but not quite right, and doesn't seem to support feature layers.
- support feature layers, cached layers and dynamic layers
- zoom to extent
- toggle on/off
- show the symbology
- support transparency
The TOC in the maps you can create at ArcGIS.com is perfect - can we easily get to this functionality?
Thanks,
Steve