[Mapserver-users] how to use HTML Legends with Steve Lime's DHTML interface

Emilio Mayorga emiliom at u.washington.edu
Thu Dec 11 12:49:02 PST 2003


I've implemented Steve Lime's DHTML interface with dBox (javascript 
rubber band). It's working great (thanks!).

Now I'd like to add an HTML legend. I can get my map file to generate 
the HTML for the legend using a stand-alone CGI line; that seems to work 
fine. But I can't figure out how to use that line to insert the HTML 
into my web page.

I know some DHTML/DOM/javascript. What I'd like to know is how to take 
the result of something like:
http://mysite/cgi-bin/mapserv?map=/var/www/html/mymapfile.map&mode=legend
and insert it into a web page, without using Frames.

Thanks for your help. Cheers,

-Emilio Mayorga





More information about the MapServer-users mailing list