AnsweredAssumed Answered

Legend Dijit not responding to DynamicMapService scale changes to sublayers

Question asked by krobine on Aug 8, 2014

We are changing the min and max scales of dynamic map service sublayers at startup using a configuration parameter.  The map responds to these layers fine. Layers turn on and off when they are supposed to. However, the Legend Dijit does not respond properly to these changes. The legend dijit reacts to the original scales as defined by the .mxd.

Is this a bug?
The only workaround for this that I can see is generating Feature Layers for the Legend Dijit and setting the scales of the Feature Layer.