[Mapserver-users] map drop shadow effect
Steve Lime
steve.lime at dnr.state.mn.us
Tue Feb 25 14:44:32 PST 2003
For entire maps there are lots of ways to do it using images or even
DHTML layers.
For elements within a map:
- labels: already support shadows using SHADOWSIZE, SHADOWCOLOR
- features: 3.7 adds styles which allows you to add shadows to any
feature (all feature types except polygons currently working)
For example,
LAYER
NAME 'LINE_SHADOW'
...
STYLE
COLOR 128 128 128
OFFSET -1 -1
END
STYLE
COLOR 255 0 0
END
END
will give you red lines with a grey drop shadow. Remember styles are
rendered in order so you must specify the shadow first.
HTH- Steve
>>> Dan Barron <dbarron at ddive.com> 02/25/03 04:28PM >>>
Hi,
Has anyone developed a simple method for creating a drop shadow effect
for
maps and symbols via mapserver? There are a couple older posts on this
topic, but thought it might be worth another query on the subject.
Thanks,
Dan
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list