[mapserver-users] HTML Legends with MapServer
Sven Schroeter
schroeter at netgis.de
Thu May 7 23:06:33 PDT 2020
the templates are usually not very complex, but rather long due to the
large number of layers, here is a shortened example:
https://mapcache.de/ex/legend_template.html
Sven
Am 07.05.2020 um 16:30 schrieb Steve Lime:
> Query templates already support the concept of includes:
>
> [include src="some other template"]
>
> so I wonder if it might be possible to extend that functionality to
> HTML legend processing. Do you have a particularly complex example you
> could share with me?
>
> --Steve
>
> On Thu, May 7, 2020 at 4:42 AM Sven Schroeter <schroeter at netgis.de
> <mailto:schroeter at netgis.de>> wrote:
>
> Hi all,
>
> i have been using html legend templates for the mapserver for a very
> long time.
> With many layers such a template can become very long and confusing.
> Is there a possibility to split such a template into several files
> and
> e.g. include certain areas like in the mapfile?
> Maybe I could solve this with PHP Mapscript? Up to now I have been
> using processLegendTemplate to output the HTML code.
>
> Thanks
> Sven
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200508/8bf204d4/attachment.htm>
More information about the MapServer-users
mailing list