<?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 Change legend name/title of layer in ArcGISDynamicMapServiceLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-name-title-of-layer-in/m-p/380439#M35337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a&amp;nbsp;ArcGISDynamicMapServiceLayer layer that has a layer within it I am applying a createClassedColorRenderer to which is working great. I want to change the name/title that appears in the legend&amp;nbsp;&lt;SPAN&gt;after I apply the renderer. So by default it appears&amp;nbsp;as "State" as is defined&amp;nbsp;in the MDX. I want to change it to something like "State by Market Share" after I apply the renderer. I can find examples of doing this to a feature layer, but not a layer within a&amp;nbsp;ArcGISDynamicMapServiceLayer. Any hints would be appreciated.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Aug 2017 13:23:10 GMT</pubDate>
    <dc:creator>GareySmiley</dc:creator>
    <dc:date>2017-08-07T13:23:10Z</dc:date>
    <item>
      <title>Change legend name/title of layer in ArcGISDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-name-title-of-layer-in/m-p/380439#M35337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a&amp;nbsp;ArcGISDynamicMapServiceLayer layer that has a layer within it I am applying a createClassedColorRenderer to which is working great. I want to change the name/title that appears in the legend&amp;nbsp;&lt;SPAN&gt;after I apply the renderer. So by default it appears&amp;nbsp;as "State" as is defined&amp;nbsp;in the MDX. I want to change it to something like "State by Market Share" after I apply the renderer. I can find examples of doing this to a feature layer, but not a layer within a&amp;nbsp;ArcGISDynamicMapServiceLayer. Any hints would be appreciated.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 13:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-name-title-of-layer-in/m-p/380439#M35337</guid>
      <dc:creator>GareySmiley</dc:creator>
      <dc:date>2017-08-07T13:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change legend name/title of layer in ArcGISDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-name-title-of-layer-in/m-p/380440#M35338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay figured this out&lt;/P&gt;&lt;P&gt;layer.layerInfos[0].name="New Legend Label";&lt;/P&gt;&lt;P&gt;will&amp;nbsp;change inner layer 0's legend label to&amp;nbsp;&lt;SPAN&gt;"New Legend Label".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 01:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-name-title-of-layer-in/m-p/380440#M35338</guid>
      <dc:creator>GareySmiley</dc:creator>
      <dc:date>2017-08-08T01:30:10Z</dc:date>
    </item>
  </channel>
</rss>

