<?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 Question? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270265#M7055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best solution would be that the GPResultImageLayer would have Legend information (on the REST endpoint).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A workaround is templating your Legend control to lookup the symbols in a collection based on the name of the layer when the layer is a GPResultImageLayer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2011 14:15:24 GMT</pubDate>
    <dc:creator>BKuiper</dc:creator>
    <dc:date>2011-03-03T14:15:24Z</dc:date>
    <item>
      <title>Legend Question?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270262#M7052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I add a GPResultImageLayer from GP task to the map, the legend displays the layer however it does not show any legend for it (GPResultImageLayer&amp;nbsp; doesnot have legendinfo). Is there a way to extend GPResultImageLayer so that when I add the GPResultImageLayer to the map I can also add legend information thorough code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 16:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270262#M7052</guid>
      <dc:creator>IgressT</dc:creator>
      <dc:date>2011-03-02T16:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Question?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270263#M7053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can get the legend if you are using a result map service. It's not ideal, but it will give you at least some information. Currently the REST API doesn't support Legend information on the GPResultImageLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm accessing the original MapServer service to get the legend from there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will demonstrate this at the Esri Dev Summit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://events.esri.com/bpc/2011/dev_agenda/index.cfm?fa=Session_Detail_Form&amp;amp;SessionId=200&amp;amp;ScheduleId=321"&gt;http://events.esri.com/bpc/2011/dev_agenda/index.cfm?fa=Session_Detail_Form&amp;amp;SessionId=200&amp;amp;ScheduleId=321&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm basically temporary adding the result of the Tool layer to the map; retrieve the legend; Store it; and remove the layer again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then add this information to your newly created layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The downside of this solution is that the legend doesn't actual represent your newly created layer. The legend you downloaded can have more symbols then are actual used in your result (GPResultImageLayer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this make sense.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 16:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270263#M7053</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2011-03-02T16:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Question?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270264#M7054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;you can get the legend if you are using a result map service. It's not ideal, but it will give you at least some information. Currently the REST API doesn't support Legend information on the GPResultImageLayer.&lt;BR /&gt;&lt;BR /&gt;I'm accessing the original MapServer service to get the legend from there.&lt;BR /&gt;&lt;BR /&gt;I will demonstrate this at the Esri Dev Summit:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://events.esri.com/bpc/2011/dev_agenda/index.cfm?fa=Session_Detail_Form&amp;amp;SessionId=200&amp;amp;ScheduleId=321"&gt;http://events.esri.com/bpc/2011/dev_agenda/index.cfm?fa=Session_Detail_Form&amp;amp;SessionId=200&amp;amp;ScheduleId=321&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'm basically temporary adding the result of the Tool layer to the map; retrieve the legend; Store it; and remove the layer again. &lt;BR /&gt;&lt;BR /&gt;You can then add this information to your newly created layers.&lt;BR /&gt;&lt;BR /&gt;The downside of this solution is that the legend doesn't actual represent your newly created layer. The legend you downloaded can have more symbols then are actual used in your result (GPResultImageLayer).&lt;BR /&gt;&lt;BR /&gt;I hope this make sense.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK you cannot extend GPResultImageLayer so I think there is no clear solution for it. The above solution seems a good approach however your map legend and GPResultImageLayer are seperated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 14:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270264#M7054</guid>
      <dc:creator>IgressT</dc:creator>
      <dc:date>2011-03-03T14:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Question?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270265#M7055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best solution would be that the GPResultImageLayer would have Legend information (on the REST endpoint).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A workaround is templating your Legend control to lookup the symbols in a collection based on the name of the layer when the layer is a GPResultImageLayer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 14:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-question/m-p/270265#M7055</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2011-03-03T14:15:24Z</dc:date>
    </item>
  </channel>
</rss>

