<?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>idea web app builder layer list - make it like AGS JS TOC in ArcGIS Web AppBuilder Ideas</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/web-app-builder-layer-list-make-it-like-ags-js-toc/idi-p/942613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this example each layer is a service.&amp;nbsp;&amp;nbsp;&lt;A href="https://cloud.sagis.org/sagisnext" title="https://cloud.sagis.org/sagisnext"&gt;SAGIS Property Map Viewer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be good to have inline legend symbols in the layer list.&amp;nbsp; And not to&amp;nbsp;list duplicate&amp;nbsp;layer names. Like if a service has only one layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used CSS to hide its duplicated sublayer, move the legend symbol up to be in-line for layers with only one symbol. For layers with multiple symbols like Soils, I left those closed. I expanded the ones I wanted with one symbol by programmatically clicking them open (toggling the layer's &amp;gt; v expander).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes it more like the old AGS JS TOC widget like on &lt;A href="http://www.sagis.org/home/map"&gt;www.sagis.org/home/map&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also would like to see where if you click a layer it turns on, and turns on its parent(s). Also, partial state checkbox if only some of the layers in a group are on. Also, if you turn a layer on, it should expand its symbology like AGS JS TOC does. (at least, make it an option true/false for programmers to set).&amp;nbsp; Add sublayer transparency slider. Last, integrate my metadata boxes to the "..." option button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just mocked this up quick in CSS.&amp;nbsp; More as a working demo than to use in production. For example, the Add Data widget wreaks havoc on&amp;nbsp;the styling&amp;nbsp;because I hid some elements and nodes. The programmatic click thing though, was good to keep in my back pocket.&amp;nbsp; I will attach the widget code and CSS here later if people want to see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if the layer list integrated the Legend more completely,&amp;nbsp; many viewers would not need a separate Legend widget. It would be preferred by users.&amp;nbsp; I have observed with quite a large user base that the WAB layer list design (groups, expander control, sublayers not turning on if the parent is off, no partial checkboxes) is confusing for users.&amp;nbsp; &amp;nbsp;These suggestions would be helpful for users. Thank you for consideration!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2018 17:40:39 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-10-29T17:40:39Z</dc:date>
    <item>
      <title>web app builder layer list - make it like AGS JS TOC</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/web-app-builder-layer-list-make-it-like-ags-js-toc/idi-p/942613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this example each layer is a service.&amp;nbsp;&amp;nbsp;&lt;A href="https://cloud.sagis.org/sagisnext" title="https://cloud.sagis.org/sagisnext"&gt;SAGIS Property Map Viewer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be good to have inline legend symbols in the layer list.&amp;nbsp; And not to&amp;nbsp;list duplicate&amp;nbsp;layer names. Like if a service has only one layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used CSS to hide its duplicated sublayer, move the legend symbol up to be in-line for layers with only one symbol. For layers with multiple symbols like Soils, I left those closed. I expanded the ones I wanted with one symbol by programmatically clicking them open (toggling the layer's &amp;gt; v expander).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes it more like the old AGS JS TOC widget like on &lt;A href="http://www.sagis.org/home/map"&gt;www.sagis.org/home/map&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also would like to see where if you click a layer it turns on, and turns on its parent(s). Also, partial state checkbox if only some of the layers in a group are on. Also, if you turn a layer on, it should expand its symbology like AGS JS TOC does. (at least, make it an option true/false for programmers to set).&amp;nbsp; Add sublayer transparency slider. Last, integrate my metadata boxes to the "..." option button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just mocked this up quick in CSS.&amp;nbsp; More as a working demo than to use in production. For example, the Add Data widget wreaks havoc on&amp;nbsp;the styling&amp;nbsp;because I hid some elements and nodes. The programmatic click thing though, was good to keep in my back pocket.&amp;nbsp; I will attach the widget code and CSS here later if people want to see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if the layer list integrated the Legend more completely,&amp;nbsp; many viewers would not need a separate Legend widget. It would be preferred by users.&amp;nbsp; I have observed with quite a large user base that the WAB layer list design (groups, expander control, sublayers not turning on if the parent is off, no partial checkboxes) is confusing for users.&amp;nbsp; &amp;nbsp;These suggestions would be helpful for users. Thank you for consideration!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 17:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/web-app-builder-layer-list-make-it-like-ags-js-toc/idi-p/942613</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-10-29T17:40:39Z</dc:date>
    </item>
  </channel>
</rss>

