<?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 Adding Legend to Layer List Deprecation Warning in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-legend-to-layer-list-deprecation-warning/m-p/1666721#M87894</link>
    <description>&lt;P&gt;When adding a legend to the arcgis-layer-list component as shown in the sample gives the following warning:&lt;/P&gt;&lt;P&gt;DEPRECATED - This widget is deprecated. Use the Legend component instead.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/pen?editors=1000" target="_blank"&gt;https://codepen.io/pen?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there a recommended way to have the layer list component use the legend component, rather than the legend widget?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Nov 2025 14:58:07 GMT</pubDate>
    <dc:creator>Justin_Greco</dc:creator>
    <dc:date>2025-11-18T14:58:07Z</dc:date>
    <item>
      <title>Adding Legend to Layer List Deprecation Warning</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-legend-to-layer-list-deprecation-warning/m-p/1666721#M87894</link>
      <description>&lt;P&gt;When adding a legend to the arcgis-layer-list component as shown in the sample gives the following warning:&lt;/P&gt;&lt;P&gt;DEPRECATED - This widget is deprecated. Use the Legend component instead.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/pen?editors=1000" target="_blank"&gt;https://codepen.io/pen?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there a recommended way to have the layer list component use the legend component, rather than the legend widget?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 14:58:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-legend-to-layer-list-deprecation-warning/m-p/1666721#M87894</guid>
      <dc:creator>Justin_Greco</dc:creator>
      <dc:date>2025-11-18T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Legend to Layer List Deprecation Warning</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-legend-to-layer-list-deprecation-warning/m-p/1667887#M87908</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/233731"&gt;@Justin_Greco&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Sorry about this, it should be fixed in the next release when we've finished the migration of Layer List to a web component.&amp;nbsp; Currently the Layer List is using the old Legend widget internally and it's producing the deprecation message.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 15:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-legend-to-layer-list-deprecation-warning/m-p/1667887#M87908</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2025-11-21T15:33:58Z</dc:date>
    </item>
  </channel>
</rss>

