HTML Legend with PHP

Juan Luis Cardoso jl.cardoso at SGSMAP.COM
Fri Jan 13 11:57:09 EST 2006


Hi list

I am new with Mapserver.
I am developing a MapServer application with PHP MapScript

I have the standard leyend using:
  		global $map;
		$image3=$map->drawLegend();
		$image_ley=$image3->saveWebImage();
		echo "<INPUT NAME=leyenda TYPE=image SRC=$image_ley >";

 I would like to use a template, like i see at:
http://mapserver.gis.umn.edu/docs/howto/html_legend

 But this document don't tell how to put html legend in a .php page.

 Am i missing something?
 Any idea??

Thanks in advance

Juan Luis Cardoso Santos
SGSmap Ingenieros Consultores.



More information about the mapserver-users mailing list