I have an ArcGISDynamicMapServiceLayer with 10 sublayers.
The sublayers are filtered using setLayerDefinitions ....
Now I would like to refresh the legend of a filtered sublayer applying UniqueValueDefinition, is it possible?
Hi all, I made it using lyr.setLayerDrawingOptions(optionsArray);
It works...but how can I refresh the legend in the LayerList widget? I tried with _refresh method....but it doesn't work.