0

i have a trouble for publishing map service with transparent color, but when i make analyze map document, there error "warnings",told me (Enabling the option to convert layer transparency to color transparency for ArcGIS Server).

here the error

  • please any one help me – GIS Man Sep 6 '14 at 17:19
0

You already fixed the problem as I see by the fact that the warning says it is "resolved". The way to do this is to right-click the warning and you are given the option to resolve the conflict right there.

You do NOT want to try to adjust this in the mxd project file (leave the transparency value that you have set for the layer). When you save the service, the description of the service will show transparency:0 for the layer but you will be able to see through it to the layers below.

Edit: If you did try to modify the transparency, you should go back and set it the way you had it.

I had a similar problem and I fixed it by opening the mxd project that I used to create the service, setting transparency on the layer by right-clicking it in the Table of Contents and setting Transparency to 50% or so on the Display Tabl. Then I shared the service. When using the layer in my javascript map. I also had to set opacity on the layer so perhaps that may help.

var myLayer = new ArcGISDynamicMapServiceLayer("xxx.xxxxxxxx.org:6080/arcgis/rest/services/LAYER/F‌​older/…;, {"imageParameters": imageParameters, opacity: 0.45, format: "png32"}); imageParameters.format = "png32"; map.addLayer(myLayer);

My Transparency Issue

  • thank you@jbchurchil, actually the problem is not showing transparent the layers in my application is still full fill color – GIS Man Sep 7 '14 at 13:38
  • Ok I will edit my answer and hopefully offer some good advice. – jbchurchill Sep 8 '14 at 1:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.