Select to view content in your preferred language

IE 9 mosaic dataset discolor colormap

514
1
10-24-2011 07:44 PM
gisscconsulting
Emerging Contributor
I have a mosaic dataset (hundards of rasters with colormap built in) published as image service.

After imageServiceLayer.setOpacity(0.4);
I also set mosaic rule to show 1 image at a time

The color of the image seemed faded and discolored in IE 9 when I pan and zoom. In FireFox the color retains.

IE seems can not get image ransparency right?
0 Kudos
1 Reply
gisscconsulting
Emerging Contributor
After chat with ESRI analyst, the solution is to use setOpacity before addLayer event.
           
imageServiceLayer.setOpacity(0.4);
map.addLayer(imageServiceLayer);

If is setOpacity is used after addLayer event, IE tends to have problems.

dojo.connect(imageServiceLayer, "onLayerAdd",function()){
    imageServiceLayer.setOpacity(0.4);
}



GISSC
GIS Software & Consulting Group
http://gissc.services.officelive.com/default.aspx
0 Kudos