Image not being returned to browser

648
1
Jump to solution
07-03-2012 06:07 AM
ToddSmith4
New Contributor II
Hey Everyone,

I have a javascript api web app that queries an served image mosaic dataset, and returns the appropriate raster to the web map.  I just upgraded from 10.0 to 10.1 and am not able to get the raster added to the map.  The raster is queried fine, the .png is created in the arcgisoutput folder, but never added to the map.  Are there additional security or user permission items that I need to pay attention to with 10.1?  The debugger in Chrome & IE aren't very helpful.
0 Kudos
1 Solution

Accepted Solutions
ToddSmith4
New Contributor II
Ok - got it working now.  I just backed off my complex REST call to a more simplified call.  Maybe one of the parameters is now updated in 10.1.  Regardless, it works now.

var imageServiceLayer = new esri.layers.ArcGISImageServiceLayer("http://<my server name>/arcgis/rest/services/RCS/ImageServer/" + imageObjectID + "/image?bbox=-117.86107846499999,33.215995932000055,-117.35430291299997,33.62007476500003", { "opacity": .50 }); map.addLayer(imageServiceLayer);

View solution in original post

0 Kudos
1 Reply
ToddSmith4
New Contributor II
Ok - got it working now.  I just backed off my complex REST call to a more simplified call.  Maybe one of the parameters is now updated in 10.1.  Regardless, it works now.

var imageServiceLayer = new esri.layers.ArcGISImageServiceLayer("http://<my server name>/arcgis/rest/services/RCS/ImageServer/" + imageObjectID + "/image?bbox=-117.86107846499999,33.215995932000055,-117.35430291299997,33.62007476500003", { "opacity": .50 }); map.addLayer(imageServiceLayer);
0 Kudos