<?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 Re: Dynamic Legend Widget 3.0 does not display tiled layer legend -- Calling Robert S in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587935#M16789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I has been a while since I have looked at the dynamic legend code... What you are proposing sounds logical. I will take a look and update the code if I don't find any issues. Thanks for sharing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 13:54:55 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-09-26T13:54:55Z</dc:date>
    <item>
      <title>Dynamic Legend Widget 3.0 does not display tiled layer legend -- Calling Robert S.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587934#M16788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the process of converting from the 2.5 version of the Dynamic Legend Widget to 3.0 for use in the 3.0 Flex Viewer, I found that my tiled service was no longer in the legend.&amp;nbsp; After troubleshooting this, I found a fix that I would like to submit for consideration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the module LegendItemRenderer.mxml, in private function itemrenderer_dataChangeHandler(event:FlexEvent):void, I changed the commented line as shown here to include the lId parameter where there was no parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
if (layer is ArcGISDynamicMapServiceLayer){
 layer.addEventListener(FlexEvent.SHOW,updateVisibilty);
 layer.addEventListener(FlexEvent.HIDE,updateVisibilty);
 if(!ArcGISDynamicMapServiceLayer(layer).visibleLayers){
&amp;nbsp; visArr = buildVisibleLayers(ArcGISDynamicMapServiceLayer(layer).layerInfos);
 }else{
&amp;nbsp; visArr = ArcGISDynamicMapServiceLayer(layer).visibleLayers as ArrayCollection;
 }
 ChangeWatcher.watch(ArcGISDynamicMapServiceLayer(layer), "visibleLayers", updateVisibilty);
}else if (layer is FeatureLayer){
 layer.addEventListener(FlexEvent.SHOW,updateVisibilty);
 layer.addEventListener(FlexEvent.HIDE,updateVisibilty);
 visArr = new ArrayCollection([lId]);
}else{
 visArr = new ArrayCollection([lId]); // MDW change [] to [lId]
}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert -- do you agree with this?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 13:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587934#M16788</guid>
      <dc:creator>MarcWeinshenker1</dc:creator>
      <dc:date>2012-09-26T13:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Legend Widget 3.0 does not display tiled layer legend -- Calling Robert S</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587935#M16789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I has been a while since I have looked at the dynamic legend code... What you are proposing sounds logical. I will take a look and update the code if I don't find any issues. Thanks for sharing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 13:54:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587935#M16789</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-26T13:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Legend Widget 3.0 does not display tiled layer legend -- Calling Robert S</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587936#M16790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Didn't want to start a new thread, and it doesn't give me the option to PM you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;anyway, I noticed that your live preview site for the dynamic legend widget is trying to load a Symbols mapservice that doesn't exist anymore and is throwing an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 18:53:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587936#M16790</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2012-10-04T18:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Legend Widget 3.0 does not display tiled layer legend -- Calling Robert S</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587937#M16791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rhett,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Thanks for the heads up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 19:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587937#M16791</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-10-04T19:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Legend Widget 3.0 does not display tiled layer legend -- Calling Robert S</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587938#M16792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Applying the mod you suggested did get tiled services to show in the Flexviewer 3.0 dynamic legend widget, but the legend doesn't update itself when additional layers are turned on and off.&amp;nbsp; Are you seeing this same behavior with your viewer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 15:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587938#M16792</guid>
      <dc:creator>ChristopherDamon</dc:creator>
      <dc:date>2012-10-09T15:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Legend Widget 3.0 does not display tiled layer legend -- Calling Robert S</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587939#M16793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mine is working properly.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Marc,&lt;BR /&gt;&lt;BR /&gt;Applying the mod you suggested did get tiled services to show in the Flexviewer 3.0 dynamic legend widget, but the legend doesn't update itself when additional layers are turned on and off.&amp;nbsp; Are you seeing this same behavior with your viewer?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 17:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-legend-widget-3-0-does-not-display-tiled/m-p/587939#M16793</guid>
      <dc:creator>MarcWeinshenker1</dc:creator>
      <dc:date>2012-10-11T17:28:48Z</dc:date>
    </item>
  </channel>
</rss>

