<?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 Custom Legend Widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-legend-widget/m-p/74965#M2089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking around for a legend widget that only shows layers in the legend when the layer is visible and has data in the current extent.&amp;nbsp; I also need to be able to reorder the legend without changing the drawing order in the web map.&amp;nbsp; I was looking at the Legend Widget code and at LayerInfos.&amp;nbsp; I don't know what the performance will be like, but I am getting ready to try using a query task to query the layers in the current extent to see which ones should be in the legend.&amp;nbsp; As far as the layers go, I will try to change the order of the LayerInfos and see if that does it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to know if anyone has already done this or if they have recommendations on how to proceed.&amp;nbsp; Otherwise, I will just start modifying and see how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2019 20:54:17 GMT</pubDate>
    <dc:creator>NathanHeickLACSD</dc:creator>
    <dc:date>2019-02-20T20:54:17Z</dc:date>
    <item>
      <title>Custom Legend Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-legend-widget/m-p/74965#M2089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking around for a legend widget that only shows layers in the legend when the layer is visible and has data in the current extent.&amp;nbsp; I also need to be able to reorder the legend without changing the drawing order in the web map.&amp;nbsp; I was looking at the Legend Widget code and at LayerInfos.&amp;nbsp; I don't know what the performance will be like, but I am getting ready to try using a query task to query the layers in the current extent to see which ones should be in the legend.&amp;nbsp; As far as the layers go, I will try to change the order of the LayerInfos and see if that does it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to know if anyone has already done this or if they have recommendations on how to proceed.&amp;nbsp; Otherwise, I will just start modifying and see how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 20:54:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-legend-widget/m-p/74965#M2089</guid>
      <dc:creator>NathanHeickLACSD</dc:creator>
      <dc:date>2019-02-20T20:54:17Z</dc:date>
    </item>
  </channel>
</rss>

