<?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 choose specific features and ensure that they don't show up in the Legend widget (for reasons such as having only one color) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-choose-specific-features-and-ensure-that/m-p/1518508#M85307</link>
    <description>&lt;P&gt;If you don't want a given layer to appear in the Legend, you can set its &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled" target="_self"&gt;legendEnabled&lt;/A&gt; property to false.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2024 18:10:26 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2024-08-12T18:10:26Z</dc:date>
    <item>
      <title>Want to choose specific features and ensure that they don't show up in the Legend widget (for reasons such as having only one color)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-choose-specific-features-and-ensure-that/m-p/1518496#M85306</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrewc213_0-1723484885574.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/112167i4019237AC253DB9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrewc213_0-1723484885574.png" alt="andrewc213_0-1723484885574.png" /&gt;&lt;/span&gt;&lt;BR /&gt;As you can see from this Legend, I have Layers whose color keys are showing up in the Legend widget, but since it's already obvious to the user what a Layer's color key means (if there's only one color to begin with), there's no need for all these Layers, for instance, to show up in the Legend. I'm trying to figure out how to prevent these Layers from showing up in the Legend, but there doesn't seem to be a clean and/or simple solution to it.&lt;BR /&gt;&lt;BR /&gt;I'm using TypeScript ReactJS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 17:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-choose-specific-features-and-ensure-that/m-p/1518496#M85306</guid>
      <dc:creator>andrewc213</dc:creator>
      <dc:date>2024-08-12T17:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Want to choose specific features and ensure that they don't show up in the Legend widget (for reasons such as having only one color)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-choose-specific-features-and-ensure-that/m-p/1518508#M85307</link>
      <description>&lt;P&gt;If you don't want a given layer to appear in the Legend, you can set its &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled" target="_self"&gt;legendEnabled&lt;/A&gt; property to false.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 18:10:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/want-to-choose-specific-features-and-ensure-that/m-p/1518508#M85307</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2024-08-12T18:10:26Z</dc:date>
    </item>
  </channel>
</rss>

