<?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-error in map point doesnt select exact features where it is clicked. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261475#M24216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-avatarid="3327" data-externalid="" data-online="false" data-presence="null" data-userid="55033" data-username="riyasdeen_b" href="https://community.esri.com/people/riyasdeen_b" style="font-weight: bold; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; background-color: #f3f3f3;"&gt;Riyas Deen&lt;/A&gt;&lt;SPAN style="color: #a9a9a9; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12px; background-color: #f3f3f3;"&gt;&amp;nbsp; yes ..was looking for the similar kind of code,using differed list.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 09:09:39 GMT</pubDate>
    <dc:creator>GauriDeshmukh</dc:creator>
    <dc:date>2014-08-06T09:09:39Z</dc:date>
    <item>
      <title>Identify task-error in map point doesnt select exact features where it is clicked.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261470#M24211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp; After clicking on map ,my identify task doesnt returns result from layers where the exact map point is. Sometimes it works for all feature layers in one service.But mostly it doesnt work as expected. It returns result from&amp;nbsp; some of the feature layers and not from all feature layer whose features are present at click point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 04:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261470#M24211</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-08-05T04:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Identify task-error in map point doesnt select exact features where it is clicked.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261471#M24212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check your layer option, default value is &lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;LAYER_OPTION_TOP, you may have to change it to &lt;SPAN style="color: #000066; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; background-color: #fafafa;"&gt;LAYER_OPTION_ALL&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/identifyparameters-amd.html#layeroption" title="https://developers.arcgis.com/javascript/jsapi/identifyparameters-amd.html#layeroption"&gt;identifyparameters-amd | API Reference | ArcGIS API for JavaScript&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 04:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261471#M24212</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-08-05T04:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Identify task-error in map point doesnt select exact features where it is clicked.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261472#M24213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you saying the point you click on the map is not where the identify is returning the features? Or is the location correct, but not all the features are being returned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be helpful if you posted your code or create a example that shows the issue using jsbin.com or jsfiddle.net&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 13:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261472#M24213</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-08-05T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Identify task-error in map point doesnt select exact features where it is clicked.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261473#M24214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/106054?sr"&gt;https://community.esri.com/thread/106054?sr&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello&amp;nbsp; &lt;A _jive_internal="true" data-avatarid="1618" data-externalid="" data-online="false" data-presence="null" data-userid="3856" data-username="kenbuja" href="https://community.esri.com/people/kenbuja" style="font-weight: bold; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; background-color: #f3f3f3;"&gt;Ken Buja&lt;/A&gt; Yes I am not getting the result at exact location where it is clicked.&lt;/P&gt;&lt;P&gt;As mentioned by &lt;A _jive_internal="true" data-avatarid="3327" data-externalid="" data-online="false" data-presence="null" data-userid="55033" data-username="riyasdeen_b" href="https://community.esri.com/people/riyasdeen_b" style="font-weight: bold; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; text-decoration: underline; background-color: #f3f3f3;"&gt;Riyas Deen&lt;/A&gt; I tried with different options. Also if I set tolerance value low for getting result form one service,then I dont get results from another service. One service need low tolerance while other need high tolerance.&lt;/P&gt;&lt;P&gt;Also I am facing problem with populating results in info-window for multiple services with mutiple feature layers.&lt;/P&gt;&lt;P&gt;Plz check the above link,I have posted my code there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 05:29:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261473#M24214</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-08-06T05:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Identify task-error in map point doesnt select exact features where it is clicked.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261474#M24215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you want to execute identify on multiple map services. What you need here is dojo.deferredList&lt;/P&gt;&lt;P&gt;Below extracts from one of my old project where i have used deferred list for wiring multiple selection operation. You should be able to build up on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14073050138764526 jive_text_macro" jivemacro_uid="_14073050138764526"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// 1. Populate your deferred array&lt;/P&gt;
&lt;P&gt;var deferredQuery = this._queryTask.execute(args.spatialQuery);&lt;/P&gt;
&lt;P&gt;this._deferredQueryArray[this._deferredQueryArray.length] = deferredQuery;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// 2. Hook up your deferred list then action&lt;/P&gt;
&lt;P&gt;if (this._deferredQueryArray.length &amp;gt; 0) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; this._deferredQueryList = new dojo.DeferredList(this._deferredQueryArray); &lt;/P&gt;
&lt;P&gt;&amp;nbsp; this._deferredQueryList.then(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; dojo.hitch(this, this.handleDeferredResults, extent, businessData, queryLayerMap),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; dojo.hitch(this, function (err) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; alert(err);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }));&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// 3. Handle your deferred&lt;/P&gt;
&lt;P&gt;handleDeferredResults: function (extent, businessData, queryLayerFieldMaps, results) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; console.log("Entered Method: " + arguments.callee.nom);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if (results.length != queryLayerFieldMaps.length) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; alert("Somethings not right, contact application support. Business data and spatial results don't match");&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; this.removeFiredFromDeferred(this._deferredQueryArray);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // Do whatever you would normally do with your identify result.&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// 4. Clear Your fired deferred from your deferred list&lt;/P&gt;
&lt;P&gt;removeFiredFromDeferred: function (deferredArray) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; for (var idx = deferredArray.length -1; idx &amp;gt;= 0; idx--) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if (deferredArray[idx].fired &amp;gt; -1) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; deferredArray.splice(idx, 1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 06:04:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261474#M24215</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-08-06T06:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Identify task-error in map point doesnt select exact features where it is clicked.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261475#M24216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-avatarid="3327" data-externalid="" data-online="false" data-presence="null" data-userid="55033" data-username="riyasdeen_b" href="https://community.esri.com/people/riyasdeen_b" style="font-weight: bold; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; background-color: #f3f3f3;"&gt;Riyas Deen&lt;/A&gt;&lt;SPAN style="color: #a9a9a9; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12px; background-color: #f3f3f3;"&gt;&amp;nbsp; yes ..was looking for the similar kind of code,using differed list.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 09:09:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261475#M24216</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-08-06T09:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Identify task-error in map point doesnt select exact features where it is clicked.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261476#M24217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-avatarid="1618" data-externalid="" data-online="false" data-presence="null" data-userid="3856" data-username="kenbuja" href="https://community.esri.com/people/kenbuja" style="font-weight: bold; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; background-color: #f3f3f3;"&gt;Ken Buja&lt;/A&gt;‌ ,&lt;A _jive_internal="true" data-avatarid="3327" data-externalid="" data-online="false" data-presence="null" data-userid="55033" data-username="riyasdeen_b" href="https://community.esri.com/people/riyasdeen_b" style="font-weight: bold; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; background-color: #f3f3f3;"&gt;Riyas Deen &lt;/A&gt;&lt;SPAN style="color: #a9a9a9; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12px; background-color: #f3f3f3;"&gt; , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a9a9a9; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12px; background-color: #f3f3f3;"&gt;Here I found the cause of my problem- &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a9a9a9; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12px; background-color: #f3f3f3;"&gt;After clicking identify button I&amp;nbsp; had changed my cursor(custom cursor), thus clicking on map with changed cursor resulted in shifting my original map point. Also if I change my cursor to any of the standard cursor value provided in api, it takes the exact map point.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a9a9a9; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12px; background-color: #f3f3f3;"&gt;But now the problem is I cant use custom cursor. Any solution for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 09:18:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-task-error-in-map-point-doesnt-select/m-p/261476#M24217</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-08-06T09:18:52Z</dc:date>
    </item>
  </channel>
</rss>

