<?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 legendEnabled property has no effect in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legendenabled-property-has-no-effect/m-p/1608445#M87001</link>
    <description>&lt;P&gt;I'm attempting to remove an esri TileLayer from the legend. This does not remove it:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;esriTileLayer = new TileLayer({ 
    url: "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer",
    legendEnabled: false,
    title: "I'm a title",
});&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredPilbeam2_0-1745414690499.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130797iCDD9B3F51FB3DC1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredPilbeam2_0-1745414690499.png" alt="JaredPilbeam2_0-1745414690499.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do not give it a title the default still appears:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;esriTileLayer = new TileLayer({ 
    url: "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer",
    legendEnabled: false,
    // title: "I'm a title",
});&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredPilbeam2_1-1745414779104.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130798i426E62A8910B0AB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredPilbeam2_1-1745414779104.png" alt="JaredPilbeam2_1-1745414779104.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 13:27:27 GMT</pubDate>
    <dc:creator>JaredPilbeam2</dc:creator>
    <dc:date>2025-04-23T13:27:27Z</dc:date>
    <item>
      <title>legendEnabled property has no effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legendenabled-property-has-no-effect/m-p/1608445#M87001</link>
      <description>&lt;P&gt;I'm attempting to remove an esri TileLayer from the legend. This does not remove it:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;esriTileLayer = new TileLayer({ 
    url: "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer",
    legendEnabled: false,
    title: "I'm a title",
});&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredPilbeam2_0-1745414690499.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130797iCDD9B3F51FB3DC1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredPilbeam2_0-1745414690499.png" alt="JaredPilbeam2_0-1745414690499.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do not give it a title the default still appears:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;esriTileLayer = new TileLayer({ 
    url: "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer",
    legendEnabled: false,
    // title: "I'm a title",
});&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredPilbeam2_1-1745414779104.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130798i426E62A8910B0AB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredPilbeam2_1-1745414779104.png" alt="JaredPilbeam2_1-1745414779104.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 13:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legendenabled-property-has-no-effect/m-p/1608445#M87001</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-04-23T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: legendEnabled property has no effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legendenabled-property-has-no-effect/m-p/1608458#M87002</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294090"&gt;@JaredPilbeam2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The screenshots show the LayerList widget/component.&amp;nbsp; If you want to hide the layer from being displayed in the LayerList you can use the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html#listMode" target="_self"&gt;listMode&lt;/A&gt; property.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 13:48:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legendenabled-property-has-no-effect/m-p/1608458#M87002</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2025-04-23T13:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: legendEnabled property has no effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legendenabled-property-has-no-effect/m-p/1608461#M87003</link>
      <description>&lt;P&gt;AH, yes, it is a LayerList! Whoops.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 13:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legendenabled-property-has-no-effect/m-p/1608461#M87003</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-04-23T13:54:29Z</dc:date>
    </item>
  </channel>
</rss>

