Select to view content in your preferred language

convert Basemaps to grayscale

3079
10
07-28-2011 08:08 AM
darrenjohnson
Emerging Contributor
I am currently trying to find a way if its possible to use dojo or some javascript to convert a basemap image to grayscale.  I have successfully turn the entire map div to grayscale using the the following css class

.target {filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)} 


the problem is the entire div turns gray when i only want the background image to turn grayscale.  I still want my dynamic layers to be color.

Any ideas or is there some imageparameter I can set??
0 Kudos
10 Replies
AdrianMarsden
Honored Contributor
Still no-one got any ideas for IE10+
0 Kudos