[mapserver-users] Legend graphics for individual layers in Mapfile.

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Thu Aug 31 07:28:22 PDT 2017


All,

I was wondering if there was a way to grab an individual layer legend graphic via a TEMPLATE?

I want to use the graphic as a header in a HTML popup for each feature in a layer?  Can this sort of thing be catured in the TEMPLATE somehow?

Failing that, what about a SPRITE approach, is there any way to count down the legend list based on name (via the TEMPLATE) to window out the appropriate legend graphic for display?

I’m just trying to automate the process of putting the Carto Symbol into the popups if possible.

Thanks

bobb




"I'm not interested in preserving the status quo; I want to overthrow it.”
-  Niccolo Machiavelli




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170831/44fe183e/attachment.html>


More information about the mapserver-users mailing list