legend

Eduardo Zenaide ezenaide at GMAIL.COM
Tue Dec 19 10:56:26 PST 2006


thanks, Gregor.

one more thing about legend: how can i put it outside of the map. i have
some layers with too many items for legend so the legend just don't appears.
i thinks its because of the map size, it seems to block bigger legends :P
anyway, i've seen some examples using legend outside the map.


2006/12/18, Gregor Mosheh <gregor at hostgis.com>:
>
> > how is the correct sintax for LEGEND? how is it used on the map file?
>
> The LEGEND block goes in the main block, not in a layer.
>
> Here's an example, using a TrueType font, and embedded into the upper-left
> corner of the map image.
>
> LEGEND
>   IMAGECOLOR 255 255 255
>   KEYSIZE 12 12
>   LABEL
>     TYPE truetype
>     FONT "Arial"
>     SIZE 9
>     COLOR 0 0 0
>   END
>   STATUS embed
>   POSITION ul
> END
>
>
>
>


-- 
Eduardo Zenaide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061219/8f86ed71/attachment.htm>


More information about the MapServer-users mailing list