<?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: Want to hide the Open/Expand button of a layer with sublayers (inside a LayerList) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-hide-the-open-expand-button-of-a-layer/m-p/1516958#M85261</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/817918"&gt;@andrewc213&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set the&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#listMode" target="_self"&gt; listMode&lt;/A&gt; on the layer to `&lt;SPAN&gt;hide-children&lt;/SPAN&gt;`&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 20:53:46 GMT</pubDate>
    <dc:creator>Sage_Wall</dc:creator>
    <dc:date>2024-08-08T20:53:46Z</dc:date>
    <item>
      <title>Want to hide the Open/Expand button of a layer with sublayers (inside a LayerList)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-hide-the-open-expand-button-of-a-layer/m-p/1516814#M85259</link>
      <description>&lt;P&gt;I have a layer called "Street labels" whose map data and the structure of that data I cannot modify. As you can see, the organization of its sublayers (and the mere fact that it&amp;nbsp;&lt;EM&gt;has&lt;/EM&gt; sublayers at&amp;nbsp;&lt;EM&gt;all&lt;/EM&gt;) is unintuitive:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111956i2ED471727B56B0B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There are separate sublayers for each different level of zoom detail (not to mention the extra "Street labels" sublayer within the "Street labels"). This layer is supposed to be one single, consolidated layer (without any sublayer options at all), but I cannot modify it since I'm pulling it from a URL provided by my organization. Is there a TypeScript/ReactJS workaround such that I can hide the highlighted Open/Expand button?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 17:25:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-hide-the-open-expand-button-of-a-layer/m-p/1516814#M85259</guid>
      <dc:creator>andrewc213</dc:creator>
      <dc:date>2024-08-08T17:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Want to hide the Open/Expand button of a layer with sublayers (inside a LayerList)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-hide-the-open-expand-button-of-a-layer/m-p/1516958#M85261</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/817918"&gt;@andrewc213&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set the&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#listMode" target="_self"&gt; listMode&lt;/A&gt; on the layer to `&lt;SPAN&gt;hide-children&lt;/SPAN&gt;`&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 20:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-hide-the-open-expand-button-of-a-layer/m-p/1516958#M85261</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-08-08T20:53:46Z</dc:date>
    </item>
  </channel>
</rss>

