<?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: Identify task on visible WMS layers from diferens sources in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/identify-task-on-visible-wms-layers-from-diferens/m-p/205916#M5115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the information Jennifer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; For now I've stopped working with the application, we run out of time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; If for some reason we continue the work I'm thankful for your advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 08:08:22 GMT</pubDate>
    <dc:creator>OscarLexell</dc:creator>
    <dc:date>2012-05-09T08:08:22Z</dc:date>
    <item>
      <title>Identify task on visible WMS layers from diferens sources</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/identify-task-on-visible-wms-layers-from-diferens/m-p/205914#M5113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;New Chalanges, and once again I don't know how to proceed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using LayerOption.visible does not work, I search the forum and understand why, but do not find a simple way of identifying visible layers. I have a legend choosing which layers to show on map, I think it is possible to use, but do not know how. All layers of interest for the identify task are in the legend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second problem, I need to run identify task to different servers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IdentifyTask identifyTask = new IdentifyTask("http://maps.helcom.fi/ArcGIS/rest/services/Shipping/MapServer");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyTask.ExecuteCompleted += IdentifyTask_ExecuteCompleted;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyTask.Failed += IdentifyTask_Failed;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyTask.ExecuteAsync(identifyParams);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume it is only to add another task like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IdentifyTask identifyTask2 = new IdentifyTask("http://MapServer2");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyTask2.ExecuteCompleted += IdentifyTask_ExecuteCompleted;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyTask2.Failed += IdentifyTask_Failed;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyTask2.ExecuteAsync(identifyParams);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the identifyParams I suppose I need the LayerIds, I also think it is here I will get some trouble to get the system to know which LayerId is for Mapserver1 and which is for MapServer2 or 3 and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the identify task working on all layers and from only one server for the moment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can aly use the &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;identifyParams.LayerIds.Add(4);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; to hardcode layers to run the identifyTask on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My plan is to first get it work on the the map visible layers (selected in the legend)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;next step is to get identify to catch information from several servers and put together to one list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for all helpful ideas.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 11:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/identify-task-on-visible-wms-layers-from-diferens/m-p/205914#M5113</guid>
      <dc:creator>OscarLexell</dc:creator>
      <dc:date>2012-05-02T11:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Identify task on visible WMS layers from diferens sources</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/identify-task-on-visible-wms-layers-from-diferens/m-p/205915#M5114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you need to execute IdentifyTask on multiple services and need to keep track which service returned in the ExecuteCompleted, you can use user token parameter for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp; identifyTask.ExecuteAsync(identifyParameters, identifyTask.Url);
&amp;nbsp; }

&amp;nbsp; void identifyTask_ExecuteCompleted(object sender, IdentifyEventArgs e)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; var serviceUrl = (string)e.UserState;
&amp;nbsp; }
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/identify-task-on-visible-wms-layers-from-diferens/m-p/205915#M5114</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Identify task on visible WMS layers from diferens sources</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/identify-task-on-visible-wms-layers-from-diferens/m-p/205916#M5115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the information Jennifer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; For now I've stopped working with the application, we run out of time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; If for some reason we continue the work I'm thankful for your advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 08:08:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/identify-task-on-visible-wms-layers-from-diferens/m-p/205916#M5115</guid>
      <dc:creator>OscarLexell</dc:creator>
      <dc:date>2012-05-09T08:08:22Z</dc:date>
    </item>
  </channel>
</rss>

