<?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 legend in Flex API in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-in-flex-api/m-p/590785#M13225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I ama using the Arcgis server API for flex (2.5).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using only a Dynamic Layer (ArcGISDynamicMapServiceLayer) in my esri:Map tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to define a legend based on the following example : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/Legend_Component/01nq0000004r000000/"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html#/Legend_Component/01nq0000004r000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it doesn't work, the legend is not displayed. I don't know why.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I dont' have a ATiledMapServiceLayer. do you thing that I should have one ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jean&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 23:52:20 GMT</pubDate>
    <dc:creator>Jeanlamou</dc:creator>
    <dc:date>2012-11-02T23:52:20Z</dc:date>
    <item>
      <title>legend in Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-in-flex-api/m-p/590785#M13225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I ama using the Arcgis server API for flex (2.5).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using only a Dynamic Layer (ArcGISDynamicMapServiceLayer) in my esri:Map tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to define a legend based on the following example : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/Legend_Component/01nq0000004r000000/"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html#/Legend_Component/01nq0000004r000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it doesn't work, the legend is not displayed. I don't know why.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I dont' have a ATiledMapServiceLayer. do you thing that I should have one ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jean&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 23:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-in-flex-api/m-p/590785#M13225</guid>
      <dc:creator>Jeanlamou</dc:creator>
      <dc:date>2012-11-02T23:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: legend in Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-in-flex-api/m-p/590786#M13226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello, I ama using the Arcgis server API for flex (2.5).\&lt;BR /&gt;...&lt;BR /&gt;However, it doesn't work, the legend is not displayed. I don't know why.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the map display correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the legend display the no-layers icon?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of server do you use?&amp;nbsp; You will need ArcGIS Server 10.1 SP1 or later (see requirements at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/components/Legend.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/components/Legend.html&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you go to the service directory (something like &lt;/SPAN&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer&lt;/A&gt;&lt;SPAN&gt;), does it show "Legend"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;P.S. I dont' have a ATiledMapServiceLayer. do you thing that I should have one ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't need to. Depending on what you are trying to do, it might be good to have one...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 17:05:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/legend-in-flex-api/m-p/590786#M13226</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2012-11-05T17:05:01Z</dc:date>
    </item>
  </channel>
</rss>

