Esri / landscape-modeler-js

A JavaScript web application for designing, running, and saving weighted overlay models using the Esri ArcGIS API for JavaScript and ArcGIS Server image services.
http://landscapemodeler.arcgis.com/
Apache License 2.0
29 stars 17 forks source link

Preview layer sometimes does not show, other times gets "stuck" #34

Closed tomwayson closed 10 years ago

tomwayson commented 10 years ago

Repro steps:

  1. Click Critical Habitat preview button

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:

image

tomwayson commented 10 years ago

This was an issue w/ the source image service, not the app.

After restarting services, the issue appears to be gone.