<?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: Web AppBuilder Layer-List Widget LayerInfos Events in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-layer-list-widget-layerinfos-events/m-p/711176#M157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar issue. any chance you could post that code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Nov 2015 00:16:25 GMT</pubDate>
    <dc:creator>DavidYarnell</dc:creator>
    <dc:date>2015-11-07T00:16:25Z</dc:date>
    <item>
      <title>Web AppBuilder Layer-List Widget LayerInfos Events</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-layer-list-widget-layerinfos-events/m-p/711175#M156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a reason why the Layer-List Widget is not listening to the 'layerInfosIsShowInMapChanged' Event provided by LayerInfos? Looks like the Layer-List Widget is expecting to be the only Widget that changes the visibility of layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've developed a Widget (to group layers) that also affects the Layer visibility. The Widget is using 'setTopLayerVisible' like the Layer-List does, but the UI of the Layer-List Widget is not updating. The Legend Widget is listening to this Event like expected and is updating the legend for the visible layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it work it had to edit the 'LayerListView.js' of the Layer-List Widget. Listening to the 'layerInfosIsShowInMapChanged' Event and check/uncheck the checkboxes for the updated layer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did't find any other way, but i don't like the solution to update this widget. With the next version the Layer-List Widget might change and i have to update it again. The best solution would be if the Layer-List Widget would subscribe the event as it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 06:40:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-layer-list-widget-layerinfos-events/m-p/711175#M156</guid>
      <dc:creator>StefanP__Jung</dc:creator>
      <dc:date>2015-07-30T06:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Layer-List Widget LayerInfos Events</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-layer-list-widget-layerinfos-events/m-p/711176#M157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar issue. any chance you could post that code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Nov 2015 00:16:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-layer-list-widget-layerinfos-events/m-p/711176#M157</guid>
      <dc:creator>DavidYarnell</dc:creator>
      <dc:date>2015-11-07T00:16:25Z</dc:date>
    </item>
  </channel>
</rss>

