[Mapserver-users] HTML Legend Template using PHP/MapScript
Daniel Morissette
morissette@dmsolutions.ca
Fri, 31 Oct 2003 10:56:28 -0500
Van Ulden, Joost wrote:
>
> Can PHP/MapScript generate an HTML legend if the the legend object has a
> template associated with it? Just want to ask before I generate one
> manually. Examples would be helpful.
>
Yes that's possible, you would call $map->processLegendTemplate(...) and
the function will return you a string with the generated HTML legend.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users