<?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: How to turn off a layer's field name in the legend using CSS? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761303#M70554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the class you want to hide is &lt;EM&gt;esriLegendLayerLabel&lt;/EM&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 17:19:53 GMT</pubDate>
    <dc:creator>JeffJacobson</dc:creator>
    <dc:date>2016-03-31T17:19:53Z</dc:date>
    <item>
      <title>How to turn off a layer's field name in the legend using CSS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761302#M70553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Update: I edited this post to clarify.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are updating our web map to the API version 3.16.&amp;nbsp; In the prior version the field name for the esriLegendLayer was not showing up in the legend, but now it is with this new version. I am trying to turn it off using CSS for the .esriLegendLayer property but I cannot get access to just the field name.&amp;nbsp; If I set the display to none for this property then the whole thing disappears.&amp;nbsp; What's frustrating is that I can successfully turn it off&amp;nbsp; in the console, but I cannot seem to specify this single component of layer in the legend.&amp;nbsp; Is there a way to do this using the Legend's CSS?&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As displayed in the 3.12 version of the API:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/193528_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;As displayed in the 3.16 version of the API:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/193527_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 15:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761302#M70553</guid>
      <dc:creator>ChrisBardash</dc:creator>
      <dc:date>2016-03-31T15:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off a layer's field name in the legend using CSS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761303#M70554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the class you want to hide is &lt;EM&gt;esriLegendLayerLabel&lt;/EM&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 17:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761303#M70554</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2016-03-31T17:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off a layer's field name in the legend using CSS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761304#M70555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I first thought, but it is not the Layer's label, it is the field name.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 20:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761304#M70555</guid>
      <dc:creator>ChrisBardash</dc:creator>
      <dc:date>2016-04-01T20:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off a layer's field name in the legend using CSS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761305#M70556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you creating the legend in your code? And what type of layer are you adding to the legend? I'm not seeing the field information in the legends that I've built.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 20:29:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-turn-off-a-layer-s-field-name-in-the-legend/m-p/761305#M70556</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2016-04-01T20:29:27Z</dc:date>
    </item>
  </channel>
</rss>

