<?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: Performing IdentifyTask with CURRENT visible LAYERS in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performing-identifytask-with-current-visible/m-p/523404#M13485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think there is a confusion between VisibleLayers as defined on the client &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer~VisibleLayers.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer~VisibleLayers.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and VisibleLayers as defined on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that the LayerOption in the IdentifyParameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.IdentifyParameters~LayerOption.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.IdentifyParameters~LayerOption.html&lt;/A&gt;&lt;SPAN&gt;, talks about the VisibleLayers as defined on the server - at the given map extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try out this sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you click on say Los Angeles, the result comes from Course Counties layer. If you zoom in further but click around the same point in Los Angeles, the result then comes from Cencus Block Group, which was not visible earlier at the initial map extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect that what you're doing currently is assign the same MapService to a ArcGISDynamicMapServiceLayer and turn off some layers by setting VisibleLayers.&amp;nbsp; This does not affect the IdentifyTask as you can see they only work with the same URL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Nov 2010 21:23:35 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2010-11-01T21:23:35Z</dc:date>
    <item>
      <title>Performing IdentifyTask with CURRENT visible LAYERS</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performing-identifytask-with-current-visible/m-p/523403#M13484</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;SPAN&gt;&amp;nbsp;&amp;nbsp; I am looking for the code snippet to find the current visible layers of a given DynamicMapservice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;During application startup, dynamicmapservice loads all visible layers on the map(defined in the mxd). But after a while users can TURNON/TURNOFF layers. And when I do the QUERYTASK, I should be able to QUERY only the CURRENT visible layers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sanjay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 19:30:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performing-identifytask-with-current-visible/m-p/523403#M13484</guid>
      <dc:creator>SanjayRajput</dc:creator>
      <dc:date>2010-11-01T19:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Performing IdentifyTask with CURRENT visible LAYERS</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performing-identifytask-with-current-visible/m-p/523404#M13485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think there is a confusion between VisibleLayers as defined on the client &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer~VisibleLayers.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer~VisibleLayers.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and VisibleLayers as defined on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that the LayerOption in the IdentifyParameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.IdentifyParameters~LayerOption.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.IdentifyParameters~LayerOption.html&lt;/A&gt;&lt;SPAN&gt;, talks about the VisibleLayers as defined on the server - at the given map extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try out this sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you click on say Los Angeles, the result comes from Course Counties layer. If you zoom in further but click around the same point in Los Angeles, the result then comes from Cencus Block Group, which was not visible earlier at the initial map extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect that what you're doing currently is assign the same MapService to a ArcGISDynamicMapServiceLayer and turn off some layers by setting VisibleLayers.&amp;nbsp; This does not affect the IdentifyTask as you can see they only work with the same URL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 21:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performing-identifytask-with-current-visible/m-p/523404#M13485</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-01T21:23:35Z</dc:date>
    </item>
  </channel>
</rss>

