white text under color text

Steve Lime steve.lime at DNR.STATE.MN.US
Wed Dec 8 15:13:52 EST 2004


You can also use OUTLINECOLOR in the LABEL object. For black over white
you'd do:

  COLOR 0 0 0
  OUTLINECOLOR 255 255 255

You can use Eric's suggestion to then add a drop shadow.

Steve

>>> Eric Bridger <eric at GOMOOS.ORG> 12/8/2004 10:04:07 AM >>>
On Wed, 2004-12-08 at 10:59, Kristjan Annus wrote:
> Hi
>
> I have seen in various samples that text labels i.e. street names are
drawn
> with black characters witch are placed on top of a little bit bigger
white
> characters - it makes text much better to read especialy on
ortophotos.
> Does anybody know how it is done?

In your mapfile LABEL section add something like:

 SHADOWCOLOR 200 200 200
 SHADOWSIZE 1 1



More information about the mapserver-users mailing list