<?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 World Lithology imagery layer in arcgis js. Legend shows numbers instead text. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/world-lithology-imagery-layer-in-arcgis-js-legend/m-p/1336525#M82425</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am using World Lithology imagery layer in arcgis js. Here is the link: &lt;A href="https://iv19zcbwcdw3fdex.maps.arcgis.com/home/item.html?id=53c82af69cae4c1f99902c0e0d456bf8" target="_blank"&gt;https://iv19zcbwcdw3fdex.maps.arcgis.com/home/item.html?id=53c82af69cae4c1f99902c0e0d456bf8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I use the legend it shows numbers. But I want to display names for each&amp;nbsp;Lithology Class.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 12:44:00 GMT</pubDate>
    <dc:creator>ivblackking</dc:creator>
    <dc:date>2023-10-10T12:44:00Z</dc:date>
    <item>
      <title>World Lithology imagery layer in arcgis js. Legend shows numbers instead text.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/world-lithology-imagery-layer-in-arcgis-js-legend/m-p/1336525#M82425</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am using World Lithology imagery layer in arcgis js. Here is the link: &lt;A href="https://iv19zcbwcdw3fdex.maps.arcgis.com/home/item.html?id=53c82af69cae4c1f99902c0e0d456bf8" target="_blank"&gt;https://iv19zcbwcdw3fdex.maps.arcgis.com/home/item.html?id=53c82af69cae4c1f99902c0e0d456bf8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I use the legend it shows numbers. But I want to display names for each&amp;nbsp;Lithology Class.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 12:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/world-lithology-imagery-layer-in-arcgis-js-legend/m-p/1336525#M82425</guid>
      <dc:creator>ivblackking</dc:creator>
      <dc:date>2023-10-10T12:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: World Lithology imagery layer in arcgis js. Legend shows numbers instead text.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/world-lithology-imagery-layer-in-arcgis-js-legend/m-p/1336895#M82437</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/726759"&gt;@ivblackking&lt;/a&gt;&lt;/P&gt;&lt;P&gt;It doesn't look like that layer is publicly available.&amp;nbsp; It depends on which renderer you are using. If you are using a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html" target="_self"&gt;ClassBreaksRenderer&lt;/A&gt; you would add a label into the&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos" target="_self"&gt;classBreakInfos&lt;/A&gt;.&amp;nbsp; The other renderers are similar so if your using a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html" target="_self"&gt;UniqueValueRenderer&lt;/A&gt; you would add a label in the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html#uniqueValueInfos" target="_self"&gt;uniqueValueInfos&lt;/A&gt;.&amp;nbsp; You can also do this though the &lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-edit-the-map-legends-symbology-label-and-layer-t-000027803" target="_self"&gt;MapViewer&lt;/A&gt; UI and save the layer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 12:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/world-lithology-imagery-layer-in-arcgis-js-legend/m-p/1336895#M82437</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-10-11T12:57:32Z</dc:date>
    </item>
  </channel>
</rss>

