<?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 not showing up... in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-not-showing-up/m-p/630363#M58820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which version of ArcGIS &lt;/SPAN&gt;&lt;STRONG&gt;Server&lt;/STRONG&gt;&lt;SPAN&gt; are you running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's less than v10 SP1 then the JS API will try and use arcgis.com to generate the legend.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2012 08:57:09 GMT</pubDate>
    <dc:creator>__Rich_</dc:creator>
    <dc:date>2012-11-05T08:57:09Z</dc:date>
    <item>
      <title>Legend not showing up...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-not-showing-up/m-p/630362#M58819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have added following two lines but still legend is not showing up..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.alwaysUseProxy = true;[/HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see that its accessing proxy and it is configure correctly but when it tries to get layerinfo, its not using proxy so cant get legend info because of cross origin issue.."&lt;/SPAN&gt;&lt;SPAN style="color: #FF0000; font-family: Consolas;"&gt;is not allowed by Access-Control-Allow-Origin."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2012 15:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-not-showing-up/m-p/630362#M58819</guid>
      <dc:creator>ZahidChaudhry</dc:creator>
      <dc:date>2012-11-04T15:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Legend not showing up...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-not-showing-up/m-p/630363#M58820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which version of ArcGIS &lt;/SPAN&gt;&lt;STRONG&gt;Server&lt;/STRONG&gt;&lt;SPAN&gt; are you running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's less than v10 SP1 then the JS API will try and use arcgis.com to generate the legend.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 08:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-not-showing-up/m-p/630363#M58820</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-05T08:57:09Z</dc:date>
    </item>
  </channel>
</rss>

