[mapserver-users] Mapserver Legend using html template

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed May 30 14:57:43 PDT 2012


On 12-05-30 6:30 PM, Paul Maddock wrote:
> Dear All,
> 
>  
> 
> I’m currently trying to make mapserver show in a legend different
> classes in the same layer.  Right now the classes are rendered using the
> same shape (point) and different colors correctly based on expressions
> in each class of the layer.  The legend works correctly when I turn on
> another line layer without classes. 
> 
>  
> 
> Below I’ve included snippets (Legend tag, layer tag) from my mapfile,
> and one from my html template.  Maybe you can tell me what I’m doing
> wrong because I cannot find any discrepancies between what the
> documentation says to do and what I have.

Hi Paul,

Are you referring to an HTML Legend Template?
http://www.mapserver.org/output/html_legend.html

Or maybe I am misunderstanding your question.

-jeff




-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-users mailing list