Legend Dijit not responding to DynamicMapService scale changes to sublayers

540
0
08-08-2014 06:23 AM
KarenRobine
Occasional Contributor II

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.

Tags (1)
0 Kudos
0 Replies