<?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 How to change layer name using map components in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-layer-name-using-map-components/m-p/1600544#M86772</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredPilbeam2_0-1743187411167.png" style="width: 568px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/128947i7D13CA99371ED7A5/image-dimensions/568x179?v=v2" width="568" height="179" role="button" title="JaredPilbeam2_0-1743187411167.png" alt="JaredPilbeam2_0-1743187411167.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;arcgis-map zoom="13" center="-88.1, 41.5"&amp;gt;
    &amp;lt;arcgis-zoom position="top-left"&amp;gt;&amp;lt;/arcgis-zoom&amp;gt;
    &amp;lt;arcgis-swipe swipe-position="32"&amp;gt;&amp;lt;/arcgis-swipe&amp;gt;
    &amp;lt;arcgis-expand position="top-right"&amp;gt;
      &amp;lt;arcgis-layer-list 
      label="1862 Imagery"
      visibility="checkbox"
      &amp;gt;&amp;lt;/arcgis-layer-list&amp;gt;
    &amp;lt;/arcgis-expand&amp;gt;
  &amp;lt;/arcgis-map&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I would be able to change the layer name from&amp;nbsp;&lt;SPAN&gt;AerialBW1862&amp;nbsp;&lt;/SPAN&gt;by using a label property in the Layer List component, but it has no effect. I've tried most other relevant-sounding properties, but still no effect. Here is a &lt;A href="https://codepen.io/underjollyroger/pen/xbxyOYe" target="_self"&gt;sample&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 18:48:51 GMT</pubDate>
    <dc:creator>JaredPilbeam2</dc:creator>
    <dc:date>2025-03-28T18:48:51Z</dc:date>
    <item>
      <title>How to change layer name using map components</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-layer-name-using-map-components/m-p/1600544#M86772</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredPilbeam2_0-1743187411167.png" style="width: 568px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/128947i7D13CA99371ED7A5/image-dimensions/568x179?v=v2" width="568" height="179" role="button" title="JaredPilbeam2_0-1743187411167.png" alt="JaredPilbeam2_0-1743187411167.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;arcgis-map zoom="13" center="-88.1, 41.5"&amp;gt;
    &amp;lt;arcgis-zoom position="top-left"&amp;gt;&amp;lt;/arcgis-zoom&amp;gt;
    &amp;lt;arcgis-swipe swipe-position="32"&amp;gt;&amp;lt;/arcgis-swipe&amp;gt;
    &amp;lt;arcgis-expand position="top-right"&amp;gt;
      &amp;lt;arcgis-layer-list 
      label="1862 Imagery"
      visibility="checkbox"
      &amp;gt;&amp;lt;/arcgis-layer-list&amp;gt;
    &amp;lt;/arcgis-expand&amp;gt;
  &amp;lt;/arcgis-map&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I would be able to change the layer name from&amp;nbsp;&lt;SPAN&gt;AerialBW1862&amp;nbsp;&lt;/SPAN&gt;by using a label property in the Layer List component, but it has no effect. I've tried most other relevant-sounding properties, but still no effect. Here is a &lt;A href="https://codepen.io/underjollyroger/pen/xbxyOYe" target="_self"&gt;sample&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 18:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-layer-name-using-map-components/m-p/1600544#M86772</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-03-28T18:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to change layer name using map components</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-layer-name-using-map-components/m-p/1600545#M86773</link>
      <description>&lt;P&gt;The layer name comes from the "layer.title", so you can add your own title when you create the layer.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 18:54:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-layer-name-using-map-components/m-p/1600545#M86773</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2025-03-28T18:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to change layer name using map components</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-layer-name-using-map-components/m-p/1600547#M86774</link>
      <description>&lt;P&gt;Was just coming to post that. Example mod to your code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;      const image1862 = new ImageryLayer({
        url: "https://gis.willcountyillinois.com/image/rest/services/Orthoimagery/AerialBW1862/ImageServer",
        title: "Aerial Photo",
        maxScale: 3000,
      });&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 Mar 2025 19:05:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-layer-name-using-map-components/m-p/1600547#M86774</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2025-03-28T19:05:59Z</dc:date>
    </item>
  </channel>
</rss>

