<?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: Legend Labor for DynamicMapService in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-labor-for-dynamicmapservice/m-p/9174#M200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Clayton,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Sure it is as simple as this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var service:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(url);
service.name = service.id =&amp;nbsp; "My service name";&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:22:26 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-10T20:22:26Z</dc:date>
    <item>
      <title>Legend Labor for DynamicMapService</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-labor-for-dynamicmapservice/m-p/9173#M199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a question about how to set a name/label for a dynamic map service. We are creating our service in Actionscript using the Flex API like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var service:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(url);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are then using the "Legend" component to create a dynamic legend. The problem is that the legend is displaying "ArcGISDynamicMapServiceLayer757" as its title. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hmccentral.com/img/legend.jpg"&gt;&lt;IMG src="http://www.hmccentral.com/img/legend.jpg" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I was wonder whether there is a way to set the "name" property for the Dynamic Layer (it seems to be read-only), or whether there is a way to modify this entry within the legend?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any tips or suggestions appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Clayton&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 19:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-labor-for-dynamicmapservice/m-p/9173#M199</guid>
      <dc:creator>ClaytonDonahue</dc:creator>
      <dc:date>2011-08-10T19:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Labor for DynamicMapService</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-labor-for-dynamicmapservice/m-p/9174#M200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Clayton,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Sure it is as simple as this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var service:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(url);
service.name = service.id =&amp;nbsp; "My service name";&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-labor-for-dynamicmapservice/m-p/9174#M200</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-10T20:22:26Z</dc:date>
    </item>
  </channel>
</rss>

