<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Legend Dijit problems with DynamicMapServiceLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-dijit-problems-with-dynamicmapservicelayer/m-p/292543#M26857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With FeatureLayers and working properly: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23040[/ATTACH] &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With DynamicMapServiceLayers and only showing the symbols without the text: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23041[/ATTACH] &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The layer objects loaded into layerInfos (for esri.dijit.Legend) look like they have the same structure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2013 15:34:06 GMT</pubDate>
    <dc:creator>JoeBallard</dc:creator>
    <dc:date>2013-03-28T15:34:06Z</dc:date>
    <item>
      <title>Legend Dijit problems with DynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-dijit-problems-with-dynamicmapservicelayer/m-p/292543#M26857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With FeatureLayers and working properly: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23040[/ATTACH] &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With DynamicMapServiceLayers and only showing the symbols without the text: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23041[/ATTACH] &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The layer objects loaded into layerInfos (for esri.dijit.Legend) look like they have the same structure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 15:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-dijit-problems-with-dynamicmapservicelayer/m-p/292543#M26857</guid>
      <dc:creator>JoeBallard</dc:creator>
      <dc:date>2013-03-28T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Dijit problems with DynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-dijit-problems-with-dynamicmapservicelayer/m-p/292544#M26858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jrballard&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;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. &lt;BR /&gt;&lt;BR /&gt;With FeatureLayers and working properly: &lt;BR /&gt;[ATTACH=CONFIG]23040[/ATTACH] &lt;BR /&gt;&lt;BR /&gt;With DynamicMapServiceLayers and only showing the symbols without the text: &lt;BR /&gt;[ATTACH=CONFIG]23041[/ATTACH] &lt;BR /&gt;&lt;BR /&gt;The layer objects loaded into layerInfos (for esri.dijit.Legend) look like they have the same structure.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Turns out it's a CSS problem. Because of the different structure of the dijit's html output, our CSS needed to be adjusted to match.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 15:42:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-dijit-problems-with-dynamicmapservicelayer/m-p/292544#M26858</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-28T15:42:48Z</dc:date>
    </item>
  </channel>
</rss>

