[Mapserver-users] Re: html-type legends with perl mapscript

Puneet Kishor pkishor at geoanalytics.com
Tue May 27 12:04:12 EDT 2003


> -----Original Message-----
> From: Daniel Morissette [mailto:morissette at dmsolutions.ca] 
> Sent: Tuesday, May 27, 2003 10:44 AM
..
> Puneet Kishor wrote:
> > 
> > Eventually I want to create (html legends) with
> > keyboxes I can click on and open up color-selectors, and layer names
> > with checkboxes I can use to turn them on or off, or entire layer
> > elements I can select for querying purposes, etc. See, I need to be
> > able to build the individual components of a legend/layer control...
> > and the keybox is one of the denominators. drawLegendIcon 
> seems to be
> > the ticket, as soon as I get it working, that is.
> > 
> 
> Have you considered using the HTML legend templates?  They are a bit
> complicated to understand, but they allow you to do that kind of stuff
> already:
> 

seen that, tried that. I don't mind their complicatedness... html legends
work with cgi apps... I am doing an app with mapscript. I just want to get
drawLegendIcon to work the way I understand it... maybe I am wrong in how I
am interpreting it.

Thanks.

Puneet.



More information about the mapserver-users mailing list