// use a proxy page if a URL generated by this page is greater than 2000 characters // // using a polygon (the buffer returned from the geometry service) as a query geometry // will generate a long url as all vertexes from the geometry are sent to the service as // part of the URL // // if proxyUrl is null or undefined the featureLayer.selectFeatures call will not work esriConfig.defaults.io.proxyUrl = "/proxy";
XMLHttpRequest cannot load http://services.arcgisonline.com/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://inside_web' is therefore not allowed access. featureLayer.html:1 XMLHttpRequest cannot load http://sampleserver1.arcgisonline.com/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://inside_web' is therefore not allowed access. featureLayer.html:1 XMLHttpRequest cannot load http://tasks.arcgisonline.com/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://inside_web' is therefore not allowed access. featureLayer.html:1
r {stack: "Error: Unable to load proxy.php?http://sampleserve�?�uest.e (http://js.arcgis.com/3.8/init.js:160:133)", message: "Unable to load proxy.php?http://sampleserver1.arcg�?�ics/ESRI_Census_USA/MapServer/0/query status: 500", response: Object, status: 500, responseText: "cURL extension for PHP is not loaded! <br/> Add th�?�tion>/ext" <br/> extension = php_curl.dll"�?�} _ssl: undefined log: undefined message: "Unable to load proxy.php?http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/0/query status: 500" response: Object responseText: "cURL extension for PHP is not loaded! <br/> Add the following lines to your php.ini file: <br/> extension_dir = "<your-php-install-location>/ext" <br/> extension = php_curl.dll" stack: "Error: Unable to load proxy.php?http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/0/query status: 500�?� at Error (<anonymous>)�?� at new r (http://js.arcgis.com/3.8/init.js:221:367)�?� at r [as handleResponse] (http://js.arcgis.com/3.8/init.js:156:280)�?� at XMLHttpRequest.e (http://js.arcgis.com/3.8/init.js:160:133)" status: 500 xhr: XMLHttpRequest __proto__: a
XMLHttpRequest cannot load http://services.arcgisonline.com/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'my server' is therefore not allowed access.
XMLHttpRequest cannot load http://sampleserver1.arcgisonline.com/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'my server' is therefore not allowed access.