<div dir="ltr">Query templates already support the concept of includes:<div><br></div><div>  [include src="some other template"]</div><div><br></div><div>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?</div><div><br></div><div>--Steve</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 7, 2020 at 4:42 AM Sven Schroeter <<a href="mailto:schroeter@netgis.de">schroeter@netgis.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
i have been using html legend templates for the mapserver for a very <br>
long time.<br>
With many layers such a template can become very long and confusing.<br>
Is there a possibility to split such a template into several files and <br>
e.g. include certain areas like in the mapfile?<br>
Maybe I could solve this with PHP Mapscript?  Up to now I have been <br>
using processLegendTemplate to output the HTML code.<br>
<br>
Thanks<br>
Sven<br>
<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>