<?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: Change Legend Title of Sublayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-title-of-sublayer/m-p/324197#M29874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;I am sorry I don't know the answer to your question: I can only quess if it is not possible to change it with&amp;nbsp; ArcGISDynamicMapServiceLayer.layerInfos[0].name (&lt;A href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html" title="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html"&gt;ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript&lt;/A&gt;, &lt;A href="https://developers.arcgis.com/javascript/jsapi/layerinfo-amd.html" title="https://developers.arcgis.com/javascript/jsapi/layerinfo-amd.html"&gt;LayerInfo | API Reference | ArcGIS API for JavaScript&lt;/A&gt;​).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you mentioned that you are able to change the whole name of MapService in TOC. This one is what I need and I can't figured it out. Can you tell me how did you do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced,&lt;/P&gt;&lt;P&gt;Zdenek J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 16:21:42 GMT</pubDate>
    <dc:creator>ZdeněkJankovský</dc:creator>
    <dc:date>2016-02-19T16:21:42Z</dc:date>
    <item>
      <title>Change Legend Title of Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-title-of-sublayer/m-p/324196#M29873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a map service with multiple sub-layers, which I am adding to a map as Dynamic Map Service Layer. I have added the Legend Widget, which works great, but would like to change the titles of the sub-layers. I am able to change the title of the primary layer but do not see how to change sub-layers. Can I do that? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 22:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-title-of-sublayer/m-p/324196#M29873</guid>
      <dc:creator>JohnPreston</dc:creator>
      <dc:date>2015-08-12T22:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change Legend Title of Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-title-of-sublayer/m-p/324197#M29874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;I am sorry I don't know the answer to your question: I can only quess if it is not possible to change it with&amp;nbsp; ArcGISDynamicMapServiceLayer.layerInfos[0].name (&lt;A href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html" title="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html"&gt;ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript&lt;/A&gt;, &lt;A href="https://developers.arcgis.com/javascript/jsapi/layerinfo-amd.html" title="https://developers.arcgis.com/javascript/jsapi/layerinfo-amd.html"&gt;LayerInfo | API Reference | ArcGIS API for JavaScript&lt;/A&gt;​).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you mentioned that you are able to change the whole name of MapService in TOC. This one is what I need and I can't figured it out. Can you tell me how did you do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced,&lt;/P&gt;&lt;P&gt;Zdenek J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 16:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-legend-title-of-sublayer/m-p/324197#M29874</guid>
      <dc:creator>ZdeněkJankovský</dc:creator>
      <dc:date>2016-02-19T16:21:42Z</dc:date>
    </item>
  </channel>
</rss>

