<?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 How can I set group layers to just have a heading (no option to turn on/off) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-group-layers-to-just-have-a-heading/m-p/1129083#M75706</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I have a Group Layer, and am using the LayerList widget. By default, I have all of the sub-layers in the Group Layer turned Off (visible: false). Thus when a user clicks on the Group Layer (in the LayerList) nothing happens - they have to expand the Group Layer to see the contents and then turn the individual layers On.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to remove the option to turn the Group Layer On / Off (since clicking the On / Off eyeball is confusing since nothing happens when the user clicks the eyeball). Instead I would like the Group Layer name to simply be a heading that can be expanded / contracted to expose the sub-layers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Essentially, I just want the Group Layer to be always On (with the sub-layers still off by default).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, rather than seeing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;gt; (eyeball) Transportation&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eyeball) Bus Stops&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eyeball) Bike Routes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;gt; Transportation&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eyeball) Bus Stops&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eyeball) Bike Routes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;* Edit / Addition: If it makes a difference, ALL of the items in my LayerList could be Group Layers. So maybe there is a way to just have an expandable List of Group Layers...?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyone have any suggestions? Or some other way to create a simple group layer w/a header?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;~stefan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;arcgis api for javascript 4.2x&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Dec 2021 00:00:24 GMT</pubDate>
    <dc:creator>WWUMap</dc:creator>
    <dc:date>2021-12-30T00:00:24Z</dc:date>
    <item>
      <title>How can I set group layers to just have a heading (no option to turn on/off)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-group-layers-to-just-have-a-heading/m-p/1129083#M75706</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have a Group Layer, and am using the LayerList widget. By default, I have all of the sub-layers in the Group Layer turned Off (visible: false). Thus when a user clicks on the Group Layer (in the LayerList) nothing happens - they have to expand the Group Layer to see the contents and then turn the individual layers On.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to remove the option to turn the Group Layer On / Off (since clicking the On / Off eyeball is confusing since nothing happens when the user clicks the eyeball). Instead I would like the Group Layer name to simply be a heading that can be expanded / contracted to expose the sub-layers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Essentially, I just want the Group Layer to be always On (with the sub-layers still off by default).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, rather than seeing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;gt; (eyeball) Transportation&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eyeball) Bus Stops&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eyeball) Bike Routes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;gt; Transportation&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eyeball) Bus Stops&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eyeball) Bike Routes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;* Edit / Addition: If it makes a difference, ALL of the items in my LayerList could be Group Layers. So maybe there is a way to just have an expandable List of Group Layers...?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyone have any suggestions? Or some other way to create a simple group layer w/a header?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;~stefan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;arcgis api for javascript 4.2x&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 00:00:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-group-layers-to-just-have-a-heading/m-p/1129083#M75706</guid>
      <dc:creator>WWUMap</dc:creator>
      <dc:date>2021-12-30T00:00:24Z</dc:date>
    </item>
  </channel>
</rss>

