<?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: IE issue - won't load points into a map from esri.request call in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196696#M18225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for the slight delay in replying. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's really useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having seen what you have said about being able to use custom icons with the QueryTask, I thought I'd see if I could get it working - using the code that worked from the esri.request code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get markers on the map, but they appear at 0,0 lat/long which is odd, and I'm not entirely sure why - I assume it's something to do with the wkid, but the code I'm using below seems correct - but obviously isn't!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I output the x/y/wikd I get: x - 456309, y - 520207 wkid - 3857 and these come from the layer. My base map is Bing, but I don't see how that would be a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something obvious that I'm doing wrong which is making them appear at 0,0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; for (var i=0, il=resultFeatures.length; i&amp;lt;il; i++) {
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var point_x = resultFeatures&lt;I&gt;.attributes.x;
&amp;nbsp;&amp;nbsp; var point_y = resultFeatures&lt;I&gt;.attributes.y;
&amp;nbsp;&amp;nbsp; var point_wkid = resultFeatures&lt;I&gt;.geometry.spatialReference.wkid;
&amp;nbsp;&amp;nbsp; //console.log(point_x +" "+ point_y +" "+ point_wkid);
&amp;nbsp;&amp;nbsp; var pointGraphic = new esri.Graphic(new esri.geometry.Point(point_x, point_y, new esri.SpatialReference({ wkid: point_wkid })&amp;nbsp;&amp;nbsp; ), hmg.markers[4]);

&amp;nbsp;&amp;nbsp; pointGraphic.setInfoTemplate(infoTemplate);

&amp;nbsp;&amp;nbsp; map.graphics.add(pointGraphic);
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; }



&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 09:50:04 GMT</pubDate>
    <dc:creator>AlistairDorman-Smith</dc:creator>
    <dc:date>2021-12-11T09:50:04Z</dc:date>
    <item>
      <title>IE issue - won't load points into a map from esri.request call</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196692#M18221</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;Everything works fine in all other browsers, but in IE (6,7,8) there's a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using IE8 and the Dev Tools, I get the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Expected ';'&amp;nbsp; query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Operator%2CSector%2Ctotal_heat_load_kWt%2CHeat_Load_Taken_by_CHP_kWt%2CRemaining_Heat_Load_kWt&amp;amp;f=pjson&amp;amp;toJSON=function (key) %7B%0A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return this.valueOf()%3B%0A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %7D, line 2 character 22&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like IE thinks the syntax is wrong and I'm missing something, but I can't see any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've seen a similar thread here: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/27453-Data-Access-Plain-Text-Sample-not-working"&gt;http://forums.arcgis.com/threads/27453-Data-Access-Plain-Text-Sample-not-working&lt;/A&gt;&lt;SPAN&gt; but the solution doesn't work for me - I still get an error (in fact in all browsers!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My code is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var requestHandle = esri.request({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; url: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisserver/ArcGIS/rest/services/6_WGSMSD/MapServer/5/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Operator%2CSector%2Ctotal_heat_load_kWt%2CHeat_Load_Taken_by_CHP_kWt%2CRemaining_Heat_Load_kWt&amp;amp;f=pjson" rel="nofollow" target="_blank"&gt;http://gisserver/ArcGIS/rest/services/6_WGSMSD/MapServer/5/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Operator%2CSector%2Ctotal_heat_load_kWt%2CHeat_Load_Taken_by_CHP_kWt%2CRemaining_Heat_Load_kWt&amp;amp;f=pjson&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; content: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisserver/ArcGIS/rest/services/6_WGSMSD/MapServer/5/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Operator%2CSector%2Ctotal_heat_load_kWt%2CHeat_Load_Taken_by_CHP_kWt%2CRemaining_Heat_Load_kWt&amp;amp;f=pjson" rel="nofollow" target="_blank"&gt;http://gisserver/ArcGIS/rest/services/6_WGSMSD/MapServer/5/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Operator%2CSector%2Ctotal_heat_load_kWt%2CHeat_Load_Taken_by_CHP_kWt%2CRemaining_Heat_Load_kWt&amp;amp;f=pjson&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; load: requestSucceeded,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; error: requestFailed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see I'm trying to get a JSON output from one of my layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then requestFailed is always being called. The message I'm getting back is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"name":"Error",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"number":-2147352573,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"description":"Member not found",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"message":"Member not found"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't seem to find any information on this in Google.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a known issue in IE that has a simple fix to this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I've tried putting escape() around the URL in the esri.request, but that didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Grateful for any advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 14:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196692#M18221</guid>
      <dc:creator>AlistairDorman-Smith</dc:creator>
      <dc:date>2011-06-23T14:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: IE issue - won't load points into a map from esri.request call</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196693#M18222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why not just use a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm"&gt;query task&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you really want to use esri.request(), here are a couple of recommendations:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-url should be your URL only and shouldn't include querystring parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-content should be your querystring params as key, value pairs in an object&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:07:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196693#M18222</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-06-23T18:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: IE issue - won't load points into a map from esri.request call</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196694#M18223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply - as you can tell I'm trying to find my way with some of these features of the API so that's helpful to find out about the correct format for the esri.request url and data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That seems to have been my problem - I've managed to do some changes based on this example here: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/data_requestJson.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/data_requestJson.html&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I'm not using a query task is that (I think anyway!) I need to use this Json method in order to remain flexible for importing different JSON feeds onto the map, and also to allow me to use the custom icons for markers without using the identify tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it seems to be working in IE6-8 now so thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 09:39:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196694#M18223</guid>
      <dc:creator>AlistairDorman-Smith</dc:creator>
      <dc:date>2011-06-24T09:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: IE issue - won't load points into a map from esri.request call</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196695#M18224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad you got it working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two things:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-if you need to pull JSON data from multiple sources, you'll likely need separate functions to handle the differences in structure&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-you can define any symbol you like for geometries/points retrieved with a queryTask&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 15:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196695#M18224</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-06-24T15:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: IE issue - won't load points into a map from esri.request call</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196696#M18225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for the slight delay in replying. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's really useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having seen what you have said about being able to use custom icons with the QueryTask, I thought I'd see if I could get it working - using the code that worked from the esri.request code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get markers on the map, but they appear at 0,0 lat/long which is odd, and I'm not entirely sure why - I assume it's something to do with the wkid, but the code I'm using below seems correct - but obviously isn't!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I output the x/y/wikd I get: x - 456309, y - 520207 wkid - 3857 and these come from the layer. My base map is Bing, but I don't see how that would be a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something obvious that I'm doing wrong which is making them appear at 0,0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; for (var i=0, il=resultFeatures.length; i&amp;lt;il; i++) {
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var point_x = resultFeatures&lt;I&gt;.attributes.x;
&amp;nbsp;&amp;nbsp; var point_y = resultFeatures&lt;I&gt;.attributes.y;
&amp;nbsp;&amp;nbsp; var point_wkid = resultFeatures&lt;I&gt;.geometry.spatialReference.wkid;
&amp;nbsp;&amp;nbsp; //console.log(point_x +" "+ point_y +" "+ point_wkid);
&amp;nbsp;&amp;nbsp; var pointGraphic = new esri.Graphic(new esri.geometry.Point(point_x, point_y, new esri.SpatialReference({ wkid: point_wkid })&amp;nbsp;&amp;nbsp; ), hmg.markers[4]);

&amp;nbsp;&amp;nbsp; pointGraphic.setInfoTemplate(infoTemplate);

&amp;nbsp;&amp;nbsp; map.graphics.add(pointGraphic);
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; }



&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196696#M18225</guid>
      <dc:creator>AlistairDorman-Smith</dc:creator>
      <dc:date>2021-12-11T09:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: IE issue - won't load points into a map from esri.request call</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196697#M18226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sorry for the slight delay in replying. &lt;BR /&gt;&lt;BR /&gt;That's really useful.&lt;BR /&gt;&lt;BR /&gt;Having seen what you have said about being able to use custom icons with the QueryTask, I thought I'd see if I could get it working - using the code that worked from the esri.request code.&lt;BR /&gt;&lt;BR /&gt;I get markers on the map, but they appear at 0,0 lat/long which is odd, and I'm not entirely sure why - I assume it's something to do with the wkid, but the code I'm using below seems correct - but obviously isn't!&lt;BR /&gt;&lt;BR /&gt;If I output the x/y/wikd I get: x - 456309, y - 520207 wkid - 3857 and these come from the layer. My base map is Bing, but I don't see how that would be a problem.&lt;BR /&gt;&lt;BR /&gt;Is there something obvious that I'm doing wrong which is making them appear at 0,0?&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; for (var i=0, il=resultFeatures.length; i&amp;lt;il; i++) {
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var point_x = resultFeatures&lt;I&gt;.attributes.x;
&amp;nbsp;&amp;nbsp; var point_y = resultFeatures&lt;I&gt;.attributes.y;
&amp;nbsp;&amp;nbsp; var point_wkid = resultFeatures&lt;I&gt;.geometry.spatialReference.wkid;
&amp;nbsp;&amp;nbsp; //console.log(point_x +" "+ point_y +" "+ point_wkid);
&amp;nbsp;&amp;nbsp; var pointGraphic = new esri.Graphic(new esri.geometry.Point(point_x, point_y, new esri.SpatialReference({ wkid: point_wkid })&amp;nbsp;&amp;nbsp; ), hmg.markers[4]);

&amp;nbsp;&amp;nbsp; pointGraphic.setInfoTemplate(infoTemplate);

&amp;nbsp;&amp;nbsp; map.graphics.add(pointGraphic);
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; }



&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When using eari.request, there are some of the interesting findings I thought might helpful to peers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var requestHandle = esri.request({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: url.path,&amp;nbsp;&amp;nbsp;&amp;nbsp; //url is a variable for the whole querystring +&amp;amp;f=json
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content: url.query,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //handleAs: "text",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load: requestSucceeded,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error: requestFailed
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, {useProxy:true});&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;1. for the same query string with &amp;amp;f=json, if i commented out handleAs:"text", i will get an similar error message. 2. if i commented out {useProxy:true}, i will get an similar error message. Conculsion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Proxy help to serialize your querysting &lt;/SPAN&gt;&lt;STRONG&gt;text&lt;/STRONG&gt;&lt;SPAN&gt; for REST quest.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie-issue-won-t-load-points-into-a-map-from-esri/m-p/196697#M18226</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-11T09:50:07Z</dc:date>
    </item>
  </channel>
</rss>

