AnsweredAssumed Answered

Set different opacity color fill for a single layer

Question asked by 020693andy on Aug 9, 2017
Latest reply on Aug 11, 2017 by 020693andy

Hello everyone,

                        I have a layer consist of 8 different categories for each category set a different color code and opacity in desktop and publish in the ArcGIS Server. It working fine in ArcGIS Online. Whenever I using the map services in ArcGIS API for JS the color code is fine, but the opacity is not working. It automatically set 0% transparency and 1  Opacity.

 

How can I set the different opacity for different categories in a single layer by the help of  ArcGIS API for JS?

 

 

Thanks for the help.

Outcomes