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 <[email protected] <mailto:[email protected]>> 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
    [email protected]
    <mailto:[email protected]>
    https://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to