A JavaScript web application for designing, running, and saving weighted overlay models using the Esri ArcGIS API for JavaScript and ArcGIS Server image services.
Expected:
App adds preview of critical habitat layer to map.
Actual:
Nothing, see this error in console:
XMLHttpRequest cannot load https://landscape2.arcgis.com/arcgis/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://landscapemodeler.arcgis.com' is therefore not allowed access.
I'm not sure how to reproduce the "stuck" preview layer, but it happened when I was chasing down the above bug and I have screen shot:
Repro steps:
Expected: App adds preview of critical habitat layer to map.
Actual: Nothing, see this error in console:
I'm not sure how to reproduce the "stuck" preview layer, but it happened when I was chasing down the above bug and I have screen shot: