<?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 IdentifyTask and Layer Scale Range:&amp;nbsp; Not in sync? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-and-layer-scale-range-nbsp-not-in/m-p/416673#M38329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have map application that's using a dynamic map service.&amp;nbsp; I've noticed that whenever I explicitly set the scale range of a layer in ArcMap, and then republish my service based on the newly saved MXD, that the layer with the newly adjusted scale range doesn't properly identify at the first visible level.&amp;nbsp; Rather, I can only get results to my IdentifyTask call after I've zoomed in at least a couple of more levels.&amp;nbsp; Then, the IdentifyTask yields the proper information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd expect my IdentifyTask to work at precisely the level I set in the MXD.&amp;nbsp; I don't have this problem for layers that I set to "Show layer at all scales".&amp;nbsp; I'm using &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;identifyTask = new esri.tasks.IdentifyTask(ESRISearchUrl);
identifyParams = new esri.tasks.IdentifyParameters();
identifyParams.tolerance = 2;
identifyParams.returnGeometry = true; 
identifyParams.layerIds = ESRILayerIDs;
identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2012 20:05:57 GMT</pubDate>
    <dc:creator>AndyStewart1</dc:creator>
    <dc:date>2012-06-11T20:05:57Z</dc:date>
    <item>
      <title>IdentifyTask and Layer Scale Range:  Not in sync?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-and-layer-scale-range-nbsp-not-in/m-p/416673#M38329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have map application that's using a dynamic map service.&amp;nbsp; I've noticed that whenever I explicitly set the scale range of a layer in ArcMap, and then republish my service based on the newly saved MXD, that the layer with the newly adjusted scale range doesn't properly identify at the first visible level.&amp;nbsp; Rather, I can only get results to my IdentifyTask call after I've zoomed in at least a couple of more levels.&amp;nbsp; Then, the IdentifyTask yields the proper information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd expect my IdentifyTask to work at precisely the level I set in the MXD.&amp;nbsp; I don't have this problem for layers that I set to "Show layer at all scales".&amp;nbsp; I'm using &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;identifyTask = new esri.tasks.IdentifyTask(ESRISearchUrl);
identifyParams = new esri.tasks.IdentifyParameters();
identifyParams.tolerance = 2;
identifyParams.returnGeometry = true; 
identifyParams.layerIds = ESRILayerIDs;
identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 20:05:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-and-layer-scale-range-nbsp-not-in/m-p/416673#M38329</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-06-11T20:05:57Z</dc:date>
    </item>
  </channel>
</rss>

