Not able to display legend in mapfile

Eric Bridger eric at GOMOOS.ORG
Tue Feb 1 10:20:01 EST 2005


At 05:06 AM 02/01/2005 -0800, neelima wrote:
>Hi ,
>Below is the code i have used to display legend in the map file
>
>LEGEND
>
>OUTLINECOLOR 0 0 0
>
>IMAGECOLOR 255 255 255
>
>POSITION UL
>
>KEYSIZE 20 10
>
>KEYSPACING 5 5
>
>LABEL
>
>TYPE TRUETYPE
>
>FONT Arial
>
>SIZE 9
>
>COLOR 0 0 0
>
>END
>
>STATUS ON
>
>END
>
>
>
>Can anyone guide me if there is any thing wrong in that code  becos i am not able display legend in the mapfile. Or is there anything else which i should add to the above.
>
>Wishing for a soon reply becos previously a week back i have posted a question regarding text object but i did not get any reply. thank u

This looks fine but you'll need to provide more details about what you are trying to do and what's going wrong.  If you want the legend on your map you should try STATUS EMBED



More information about the mapserver-users mailing list