<?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 Is identifyTask dependent on current extent? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503722#M46771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I am finding out is that the identifyTask does not return results once my scale reaches a certain point. At large scales it works fine. At small scales past about 50,000 it no longer works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My spatial reference is webmercator(102100) if that helps, and the layer I am trying to identify on has a min scale set at 72225. So, it would seem that after 72225 it would no longer work but should work up until then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using esri.geometry.getScale to determine the scale and I assume that the scale returned is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any ideas? Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my identify code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;cadastral.identifyTask = new esri.tasks.IdentifyTask(mapUrl);

&amp;nbsp; cadastral.identifyParams = new esri.tasks.IdentifyParameters();
&amp;nbsp; cadastral.identifyParams.tolerance = 0;
&amp;nbsp; cadastral.identifyParams.returnGeometry = true;
&amp;nbsp; var identifyArray = [9];
&amp;nbsp; cadastral.identifyParams.layerIds = identifyArray;
&amp;nbsp; cadastral.identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE; //.LAYER_OPTION_ALL;
&amp;nbsp; cadastral.identifyParams.geometry = evt.mapPoint;
&amp;nbsp; cadastral.identifyParams.mapExtent = cadastral.map.extent;
&amp;nbsp; cadastral.identifyTask.execute(cadastral.identifyParams, function (idResults) { cadastral.identify.setupIdentifyResults(idResults, evt); }, function (idResults) { cadastral.showError(idResults, evt); });&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2011 22:17:43 GMT</pubDate>
    <dc:creator>PerryDonnafield</dc:creator>
    <dc:date>2011-06-30T22:17:43Z</dc:date>
    <item>
      <title>Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503722#M46771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I am finding out is that the identifyTask does not return results once my scale reaches a certain point. At large scales it works fine. At small scales past about 50,000 it no longer works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My spatial reference is webmercator(102100) if that helps, and the layer I am trying to identify on has a min scale set at 72225. So, it would seem that after 72225 it would no longer work but should work up until then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using esri.geometry.getScale to determine the scale and I assume that the scale returned is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any ideas? Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my identify code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;cadastral.identifyTask = new esri.tasks.IdentifyTask(mapUrl);

&amp;nbsp; cadastral.identifyParams = new esri.tasks.IdentifyParameters();
&amp;nbsp; cadastral.identifyParams.tolerance = 0;
&amp;nbsp; cadastral.identifyParams.returnGeometry = true;
&amp;nbsp; var identifyArray = [9];
&amp;nbsp; cadastral.identifyParams.layerIds = identifyArray;
&amp;nbsp; cadastral.identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE; //.LAYER_OPTION_ALL;
&amp;nbsp; cadastral.identifyParams.geometry = evt.mapPoint;
&amp;nbsp; cadastral.identifyParams.mapExtent = cadastral.map.extent;
&amp;nbsp; cadastral.identifyTask.execute(cadastral.identifyParams, function (idResults) { cadastral.identify.setupIdentifyResults(idResults, evt); }, function (idResults) { cadastral.showError(idResults, evt); });&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 22:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503722#M46771</guid>
      <dc:creator>PerryDonnafield</dc:creator>
      <dc:date>2011-06-30T22:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503723#M46772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What I am finding out is that the identifyTask does not return results once my scale reaches a certain point. At large scales it works fine. At small scales past about 50,000 it no longer works. &lt;BR /&gt;&lt;BR /&gt;My spatial reference is webmercator(102100) if that helps, and the layer I am trying to identify on has a min scale set at 72225. So, it would seem that after 72225 it would no longer work but should work up until then.&lt;BR /&gt;&lt;BR /&gt;I am using esri.geometry.getScale to determine the scale and I assume that the scale returned is correct.&lt;BR /&gt;&lt;BR /&gt;Anyone have any ideas? Thanks.&lt;BR /&gt;&lt;BR /&gt;Here is my identify code:&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;cadastral.identifyTask = new esri.tasks.IdentifyTask(mapUrl);

&amp;nbsp; cadastral.identifyParams = new esri.tasks.IdentifyParameters();
&amp;nbsp; cadastral.identifyParams.tolerance = 0;
&amp;nbsp; cadastral.identifyParams.returnGeometry = true;
&amp;nbsp; var identifyArray = [9];
&amp;nbsp; cadastral.identifyParams.layerIds = identifyArray;
&amp;nbsp; cadastral.identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE; //.LAYER_OPTION_ALL;
&amp;nbsp; cadastral.identifyParams.geometry = evt.mapPoint;
&amp;nbsp; cadastral.identifyParams.mapExtent = cadastral.map.extent;
&amp;nbsp; cadastral.identifyTask.execute(cadastral.identifyParams, function (idResults) { cadastral.identify.setupIdentifyResults(idResults, evt); }, function (idResults) { cadastral.showError(idResults, evt); });&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Usually map.mapExtent, map.height and map.width along with tolerance are used in identifyParameters to determine the search distance and visible layers. I would change the code a little bit and test it again. Suggested code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
cadastral.identifyTask = new esri.tasks.IdentifyTask(mapUrl);
cadastral.identifyParams = new esri.tasks.IdentifyParameters();
cadastral.identifyParams.tolerance = 1; // unless you identify a polygon layer, always give tolerance some positive value.
cadastral.identifyParams.returnGeometry = true;
cadastral.identifyParams.layerIds = [9];
cadastral.identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_ALL; //just make sure your layer 9 is always in your identify list
cadastral.identifyParams.geometry = evt.mapPoint;
cadastral.identifyParams.mapExtent = cadastral.map.extent;
cadastral.identifyParams.height = cadastral.map.height;
cadastral.identifyParams.width = cadastral.map.width;
......
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503723#M46772</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-11T22:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503724#M46773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what I ended up with. I think height and width were the key.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
cadastral.identifyTask = new esri.tasks.IdentifyTask(mapUrl);
cadastral.identifyParams = new esri.tasks.IdentifyParameters();
cadastral.identifyParams.tolerance = 0;
cadastral.identifyParams.returnGeometry = true;
cadastral.identifyParams.layerIds = [9];
cadastral.identifyParams.geometry = evt.mapPoint;
cadastral.identifyParams.mapExtent = cadastral.map.extent;
cadastral.identifyParams.height = cadastral.map.height;
cadastral.identifyParams.width = cadastral.map.width;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I am identifying on a polygon layer, what should the tolerance be? I just figured 0 would be best for a polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503724#M46773</guid>
      <dc:creator>PerryDonnafield</dc:creator>
      <dc:date>2021-12-11T22:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503725#M46774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is what I ended up with. I think height and width were the key.&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
cadastral.identifyTask = new esri.tasks.IdentifyTask(mapUrl);
cadastral.identifyParams = new esri.tasks.IdentifyParameters();
cadastral.identifyParams.tolerance = 0;
cadastral.identifyParams.returnGeometry = true;
cadastral.identifyParams.layerIds = [9];
cadastral.identifyParams.geometry = evt.mapPoint;
cadastral.identifyParams.mapExtent = cadastral.map.extent;
cadastral.identifyParams.height = cadastral.map.height;
cadastral.identifyParams.width = cadastral.map.width;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Since I am identifying on a polygon layer, what should the tolerance be? I just figured 0 would be best for a polygon.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tolerance is usually used for point geometry. I guess 0 would be OK for polygon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503725#M46774</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-11T22:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503726#M46775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm experiencing a similar issue.&amp;nbsp; I have a map service with some layers visible at all extents, while other layers are visible only below 1000 ft.&amp;nbsp; For the layers that are always visible, my click event triggers the identifyTask every time and I get the results I want.&amp;nbsp; When I get to 1000 ft, I can see the other layers, but the click event doesn't return objects until after I zoom in a couple of more levels.&amp;nbsp; My assumption is that if I can see the features, I can identify them.&amp;nbsp; But that's not the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see any real differences in my code vs. the other code examples in this thread.&amp;nbsp; Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 15:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503726#M46775</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-01-25T15:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503727#M46776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm experiencing a similar issue.&amp;nbsp; I have a map service with some layers visible at all extents, while other layers are visible only below 1000 ft.&amp;nbsp; For the layers that are always visible, my click event triggers the identifyTask every time and I get the results I want.&amp;nbsp; When I get to 1000 ft, I can see the other layers, but the click event doesn't return objects until after I zoom in a couple of more levels.&amp;nbsp; My assumption is that if I can see the features, I can identify them.&amp;nbsp; But that's not the case.&lt;BR /&gt;&lt;BR /&gt;I don't see any real differences in my code vs. the other code examples in this thread.&amp;nbsp; Any suggestions?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Remember the default is to return only the top layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_TOP;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you want all its&lt;/SPAN&gt;&lt;BR /&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;or visibile&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you dont explicitly set it, it is TOP.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 19:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503727#M46776</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-01-25T19:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503728#M46777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Right.&amp;nbsp; And right now we're using: &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So it makes me wonder why I can't detect certain items in the same service when they first become visible....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 21:09:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503728#M46777</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-01-25T21:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503729#M46778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Right.&amp;nbsp; And right now we're using: &lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE;&lt;/PRE&gt;&lt;BR /&gt;So it makes me wonder why I can't detect certain items in the same service when they first become visible....&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IS your rest service publicly accessible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like you are only identifying layer 9, and then only if its visible.&amp;nbsp; Is that correct?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 11:37:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503729#M46778</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-01-26T11:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503730#M46779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're identifying all the layers. (The layer 9 was the original poster's code).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a more complete look at what I have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; identifyTask = new esri.tasks.IdentifyTask(MyESRISearchUrl);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyParams = new esri.tasks.IdentifyParameters();
 identifyParams.tolerance = 2;
 identifyParams.returnGeometry = true;
 var lids = "";
 identifyParams.layerIds = MyESRILayerIDs;
 lids += " --- ";
 identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE; /* LAYER_OPTION_TOP; */&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I swapped out LAYER_OPTION_VISIBLE for LAYER_OPTION_ALL and that of course enabled me to see everything.&amp;nbsp; But I need to find a way to get LAYER_OPTION_VISIBLE working properly (assuming that when anything is visible on the map, I can identify it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We did have some permission issues early on with the service--I believe it's accessible now.&amp;nbsp; How could the REST API not being publicly accessible make some layers visible/identifiable and some not?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:06:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503730#M46779</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2021-12-11T22:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503731#M46780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We're identifying all the layers. (The layer 9 was the original poster's code).&lt;BR /&gt;&lt;BR /&gt;Here's a more complete look at what I have:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; identifyTask = new esri.tasks.IdentifyTask(MyESRISearchUrl);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyParams = new esri.tasks.IdentifyParameters();
 identifyParams.tolerance = 2;
 identifyParams.returnGeometry = true;
 var lids = "";
 identifyParams.layerIds = MyESRILayerIDs;
 lids += " --- ";
 identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE; /* LAYER_OPTION_TOP; */&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;I swapped out LAYER_OPTION_VISIBLE for LAYER_OPTION_ALL and that of course enabled me to see everything.&amp;nbsp; But I need to find a way to get LAYER_OPTION_VISIBLE working properly (assuming that when anything is visible on the map, I can identify it).&lt;BR /&gt;&lt;BR /&gt;We did have some permission issues early on with the service--I believe it's accessible now.&amp;nbsp; How could the REST API not being publicly accessible make some layers visible/identifiable and some not?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Public accessibility wouldn't affect function, but it would allow me to see it to try to help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:06:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503731#M46780</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2021-12-11T22:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is identifyTask dependent on current extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503732#M46781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, I misunderstood.&amp;nbsp; Sorry, it's not accessible external to our site.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 16:15:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-identifytask-dependent-on-current-extent/m-p/503732#M46781</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-01-26T16:15:31Z</dc:date>
    </item>
  </channel>
</rss>

