<?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: For Robert Scheitlin:  problem with Dynamic Legend Widget 2.5 in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637129#M18937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Robert.&amp;nbsp; I thought I had set the thread to Discussion and not Question, but it ended up as a question.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2012 18:17:19 GMT</pubDate>
    <dc:creator>MarcWeinshenker1</dc:creator>
    <dc:date>2012-01-23T18:17:19Z</dc:date>
    <item>
      <title>For Robert Scheitlin:  problem with Dynamic Legend Widget 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637126#M18934</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;I had a strange problem with the Dynamic Legend Widget v2.5 where opening the widget immediately after opening the map led to an empty legend display.&amp;nbsp; Toggling the zoom, though, would reveal the legend.&amp;nbsp; After some investigation, it appeared to me that the line in the function itemrenderer_dataChangeHandler in LegendItemRenderer.mxml had an awkward comparison:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;else if(((iminscale == 0 || map.scale &amp;lt;= imaxscale) &amp;amp;&amp;amp; map.scale &amp;gt;= imaxscale) &amp;amp;&amp;amp; layer.visible &amp;amp;&amp;amp; visArr.contains(lId))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As this differed from the similar line in the function updateVisibilty, I changed the map.scale comparison in the OR from &amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;max&lt;/STRONG&gt;&lt;SPAN&gt;scale to &amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;min&lt;/STRONG&gt;&lt;SPAN&gt;scale as I felt is should have been, and the problem was resolved.&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>Mon, 23 Jan 2012 16:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637126#M18934</guid>
      <dc:creator>MarcWeinshenker1</dc:creator>
      <dc:date>2012-01-23T16:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: For Robert Scheitlin:  problem with Dynamic Legend Widget 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637127#M18935</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; Thanks for catching that I will get the source code updated and re-release for 2.5&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 16:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637127#M18935</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-01-23T16:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: For Robert Scheitlin:  problem with Dynamic Legend Widget 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637128#M18936</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; Can you go ahead and mark your own post as the answer that way this thread does not appear in the list as unanswered?&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 18:07:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637128#M18936</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-01-23T18:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: For Robert Scheitlin:  problem with Dynamic Legend Widget 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637129#M18937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Robert.&amp;nbsp; I thought I had set the thread to Discussion and not Question, but it ended up as a question.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 18:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/for-robert-scheitlin-nbsp-problem-with-dynamic/m-p/637129#M18937</guid>
      <dc:creator>MarcWeinshenker1</dc:creator>
      <dc:date>2012-01-23T18:17:19Z</dc:date>
    </item>
  </channel>
</rss>

