ArcGIS JSAPI - web workers CORS issue

المشرف العام

Administrator
طاقم الإدارة
In my JS web-application, I'm trying to store the tiles in my localstorage using web workers.
I'm using the code from this Esri sample. I just deleted line 20 in the ioWorker.js file:

url = "/arcgisserver/apis/javascript/proxy/proxy.ashx?" + url;But when the web worker requests a tile, I get those three errors:

On my side, CORS should be working fine. Is this a problem on Esri's side or have i got something wrong?

edit: Or is it not possible only with CORS, do I need a proxy-page?



أكثر...
 
أعلى