Urgent - Symbol in Legend with fixed size !!!!!
Kai Behncke
kbehncke at IGF.UNI-OSNABRUECK.DE
Sun Jan 28 07:24:34 PST 2007
On Sat, 27 Jan 2007 14:16:59 -0200, Paul james wrote
> Hello! I can´t do that working ! :(
>
> I have a point layer with TRUETYPE sybom like that:
>
> STYLE
> SYMBOL "fonta"
> COLOR 0 0 255
> SIZE 250
> MINSIZE 3
> MAXSIZE 25
> END
>
> SYMBOL
> NAME "fonta"
> TYPE TRUETYPE
> FONT "test"
> CHARACTER "b"
> ANTIALIAS true
> END
>
> So, in my legend the size increase with zoom in and decrease with
> zoom out
> (like map) ! I need to fix that size on legend! How can I do that??
>
> TY !!!
Hello Paul.
you can do that with HTML-legends,
for example write in the LEGEND-Block:
LEGEND
STATUS ON
KEYSIZE 18 12
# LABEL object
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
TEMPLATE "legend.html"
END
The template.html looks like:
[leg_class_html opt_flag=15]
<img src=[leg_icon] width="10" height="10"> [leg_class_name]<br>
[/leg_class_html]
Best Regards, Kai
--
Dipl.-Geogr. Dipl.-Umweltwiss. Kai Behncke
Institut für Geoinformatik und Fernerkundung (IGF)
Universität Osnabrück
Kolpingstr. 7
49074 Osnabrück
Raum: 01/308
Tel.: +49 541 969-4450
E-Mail: mailto:kbehncke at igf.uni-osnabrueck.de
Web: http://www.igf.uni-osnabrueck.de
More information about the MapServer-users
mailing list