AnsweredAssumed Answered

Legend Dijit problems with DynamicMapServiceLayer

Question asked by jrballard on Mar 28, 2013
Latest reply on Mar 28, 2013 by geonetadmin
For performance reasons, we recently changed our web app from using FeatureLayers to using DynamicMapServiceLayers. We were able to get everything working so far except the legend. When we examine the html produced by the legend dijit, they are different.

With FeatureLayers and working properly:
[ATTACH=CONFIG]23040[/ATTACH]

With DynamicMapServiceLayers and only showing the symbols without the text:
[ATTACH=CONFIG]23041[/ATTACH]

The layer objects loaded into layerInfos (for esri.dijit.Legend) look like they have the same structure.

Attachments

Outcomes