legend

Eduardo Zenaide ezenaide at GMAIL.COM
Tue Dec 26 15:38:19 EST 2006


hi, Bill,

i've done it all. the image simple don't appears.


2006/12/26, Bill Thoen <bthoen at gisnet.com>:
>
> Eduardo Zenaide wrote:
> > ok, i've seen the documentation but i really suck on cgi and don't
> > figure out how to put it on the html.
> > the documentation refers to using <img src=[legend]> but it won't work
> > here.
> >
> > any help? please? :D
> >
> Eduardo,
>
> Here's how you do this. In your map file within the MAP object
> definition add a LEGEND object, like so:
> LEGEND
>   STATUS ON
> END
>
> And then in your html file where you want to display the legend add the
> code:
> <img src="[legend]" alt="Map Legend" />
>
> Alternatively, you can create a link to it and it will pop up in a new
> browser window. Just pu tthis in your html fiel where you want the link
> to appear:
>
> <a href="[legend]" target="_blank" />
>
> HTH,
> - Bill Thoen
>
>


-- 
Eduardo Zenaide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061226/190ebc9b/attachment.html


More information about the mapserver-users mailing list