I've developed a time slider in my app using a few simple rasters (each has cells of value 0 and 1) with specific years assigned to them. They're based on an image service which is in turn based on a mosaic dataset containing the rasters.
The problem is I'd like to adjust the rendering of the raster display. Now, all the 0 and 1 cells just display as black pixels, with white in the no value cells, and black outside the raster area. So everything underneath is covered. I'd like to distinguish the 0 and 1 cells as different shades of semi-transparent blue, remove the white cells and also remove the black cells outside the raster area. I'm not sure how to set these symbology properties though. Is there a way to do this in the .xaml code? Or does it have to be done previously in the mosaic dataset?
Thanks!
Dan