English 中文(简体)
transparent labels on mapserver using a mapfile
原标题:

i m trying to add a watermark layer in my mapfile with a DEFAULT layer:

  LAYER
  OPACITY 20
  NAME "copyright"                   
  METADATA
    "wms_title"     "copyright"
  END
  STATUS DEFAULT
  TYPE ANNOTATION

  TRANSFORM ll 
  FEATURE
    POINTS
      220 -220 
    END
    TEXT "Sample Image" 
  END
  CLASS
    LABEL 
      FONT "ARIAL"
      TYPE TRUETYPE
      SIZE 30
      BUFFER 1
      COLOR 60 60 60
      FORCE TRUE
      ANGLE 40
    END
  END
  UNITS PIXELS 
END

but it seems that the OPACITY is not working, cause it doesn t change anything. Is it possible to set the OPACITY for labels? what am i doing wrong?

Thnx in advance

最佳回答

well.. no.. apparently you can t change the opacity of labels in map server. Or at least not in this version

Follow this link for further reference: Add OPACITY support for LABEL rendering

问题回答

暂无回答




相关问题
Pure css drop down menu over link with opacity

i am having a pure css drop down menu that works fine. My problem is that behind the menu that opens i have links that use a .disable class with opacity 40% because they are not active. When mouse ...

Animate opacity on hover (jQuery)

We have a link: <a href="#"> Some text <span style="width: 50px; height: 50px; background: url(image.png); overflow: hidden; opacity: 0;"></span> </a> And we want to ...

Windows Forms Opacity After Shown- C#

I am tryig to fade-in a windows form using c# but it doesnt seem to work after I have shown the form. Is it possible to change the forms opacity after Ive shown it? Code: using System; using System....

Recoloring image ads to match website theme

What would be the best method of going about doing this? I want to essentially apply a photoshop-esque color overlay of image ads on a website. Preferably through CSS, but javascript would work too. ...

jQuery fadeIn IE Png Issue when loading from external

I am loading data from external html files within my domain into a div on my webpage using a load content method in jQuery. I take the div out of the new page whilst hiding the div in the current page ...

Setting Opacity in CSS For Chrome

I ve tried the following: (this is actually for fancybox, as the overlay does not show in chrome/safari: $("#fancy_overlay").css({<br /> background-color : opts....

Opacity of Buttons/TextBoxes - VB.NET

Is it possible to set the opacity of a button or textbox? I know that you can set the opacity for a form, but I m not so sure about a button or textbox.

热门标签