[Mapserver-users] HTML Legend Template using PHP/MapScript
Daniel Morissette
morissette at dmsolutions.ca
Fri Oct 31 07:56:28 PST 2003
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 at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list