<?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: Known issues when using 'LAYER_OPTION_VISIBLE' parameter in identify task? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/known-issues-when-using-layer-option-visible/m-p/422735#M38890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are specifying layerids (and determining layerids from the service) , i think you should be specifying &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerIds = myDynamicMapServiceLayer.visibleLayers;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_ALL;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;otherwise i think you would leave out the ids and just say&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2011 16:55:08 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2011-06-13T16:55:08Z</dc:date>
    <item>
      <title>Known issues when using 'LAYER_OPTION_VISIBLE' parameter in identify task?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/known-issues-when-using-layer-option-visible/m-p/422734#M38889</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;Just wondering if anyone is using the visible layer option parameter successfully in an identify task to identify just those layers visible on the map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot seem to get it to work and came across the same issue in this thread (&lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2396&amp;amp;t=261892"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2396&amp;amp;t=261892&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried using the following code as mentioned but this didn't help:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerIds=myDynamicMapServiceLayer.visibleLayers;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 10:33:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/known-issues-when-using-layer-option-visible/m-p/422734#M38889</guid>
      <dc:creator>ChrisBuckmaster1</dc:creator>
      <dc:date>2011-06-09T10:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Known issues when using 'LAYER_OPTION_VISIBLE' parameter in identify task?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/known-issues-when-using-layer-option-visible/m-p/422735#M38890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are specifying layerids (and determining layerids from the service) , i think you should be specifying &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerIds = myDynamicMapServiceLayer.visibleLayers;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_ALL;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;otherwise i think you would leave out the ids and just say&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 16:55:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/known-issues-when-using-layer-option-visible/m-p/422735#M38890</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-06-13T16:55:08Z</dc:date>
    </item>
  </channel>
</rss>

