Can you maybe advise how I can set this up using my own test solution bjorn?
// urlUtils.addProxyRule({ // proxyUrl: "/proxy", // urlPrefix: "test25.net" // });
csv = new CSVLayer("my-csv-map.csv", {
bjorn Not correct. In the sample, the CSV is on a different domain than the proxy and application. Application: http://developers.arcgis.com/javascr...csv/index.html Proxy: http://developers.arcgis.com/proxy CSV: http://earthquake.usgs.gov/earthquak...y/2.5_week.csv
dawenx Since you don't need a proxy, try to remove below codes: Code: urlUtils.addProxyRule({ proxyUrl: "/proxy", urlPrefix: "test25.net" });
However in the sample both the csv and the proxy are also on the same domain, earthquake.usgs.gov so I don't know why it need the proxy.
urlUtils.addProxyRule({ proxyUrl: "/proxy", urlPrefix: "test25.net" });
I don't have any proxy setup, I just replaced the url in the proxy with my address and hoped it would work!Is there a way to make it run without the proxy?
Is there a way to make it run without the proxy?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.