I am developing a web application where users can determine if there is an aerial photo collection for their area of interest. So far I have been able to code for the selection of a polygon layer containing all of the aerial collections with flight lines. That selection is returning the results in a dojo datagrid, and the user can launch a pdf of a scanned map with flight lines from a formatted field. My next task is to add a raster of the scanned map from an Image Service. I'm stumped. What I really would like to do is format a field in the data grid with a radio button that would turn the raster on and off, but as of now I can't even add a stand-alone raster from my image service.
So, my questions are - Is this possible using the JavaScript API? Can I request a single raster from my mosaic image service or do I need to build a more complex query? There is a name field in my polygon layer that matches the raster name so I could build a request from that. I think I can get the radio button to work if I could just figure out how to add the raster.
I'm running Server 10.0.