the problom about missing points

2419
1
12-21-2015 01:30 AM
Hone-JayChu
New Contributor

Dear friends,

From the web,

https://developers.arcgis.com/javascript/jssamples/layers_csv.html

the points will disappear  based on the sample file using html.

But it works using Sandbox.

Could you tell us the solution about this?

Best reagrds,

HJ

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

HJ,

  The code has these lines that are expecting a proxy to be in the site folder.

        urlUtils.addProxyRule({
          proxyUrl: "/Proxy/proxy.ashx",
          urlPrefix: "earthquake.usgs.gov"
        });

So you need a proxy setup on your web server and you need to have the http://earthquake.usgs.gov/ setup as one of the approved server urls.

http://blogs.esri.com/esri/supportcenter/2015/04/07/setting-up-a-proxy/