Some of the fairly complex but less known functionality was dropped to simplify the code upgrade, such as creation of check box on legend items based on UniqueValueRenderer,
I just noticed this, shame, I was selling that as a neat new feature to my users - any chance of adding this back in as an option? I agree it wasn't for everyone, as if you had a poorly index/large layer it did have a server hit.
So if I have a Paved Areas layer, with Road, Parking, and Driveway attributes, I would see three checkboxes under the 'Paved Areas' layer and I could turn off just parking, with an older AGS JS TOC?
you had to add a query statement for some reason in the layer, but 1=1 (ie everything) did the trick.
Great job. I'm working the last version (update 2015-01-15) but I'm having problems when the layer is a ArcGISDynamicMapServiceLayer and applies a layerDrawingOptions. The problem is that the legend is drawn in the toc does not match the loaded in the map layer; in this case , the legend of toc equals legend MapService. Does anybody have the same problem?
I hope so, too. The ESRI layer list lacks integrated legend, transparency, powerful config. A "-" for groups with some but not all sublayers on would also be good to implement.
I need help to automatically uncheck the checkbox next to Root layer Topographic Contours on agsjs.dijit.toc. Topographic Contours is a cached tile map service that is not like dynamic map service -- easily make layers visible or invisible. Thanks.