Title is a class level parameter that was supposed to hold legend text instead 
of having to use the class name. That way class names could be more friendly 
when doing things like changing parameters via URL. That functionality got lost 
in the shuffle though and hasn't been completely implemented (although it is a 
6.0 planned addition). That's why you don't see it referenced in the CLASS 
documentation. You can ignore it...

Sorry for any confusion.

Steve

From: [email protected] 
[mailto:[email protected]] On Behalf Of Bill Thoen
Sent: Friday, February 26, 2010 11:17 AM
To: [email protected]
Subject: [mapserver-users] HTML Legends - what's Class TITLE?

I'm still beating the "HTML legends" feature into a shape I can understand and 
now I think I understand most of the online documentation. Also, I think I have 
accomplished my immediate goal of creating a working layer control that shows 
you a sample graphic of the layer, has a checkbox to turn the layer on/off, and 
allows you to collapse and hide layers and classes under their group names and 
can hold up to 100 layers and classes in one clip. So thanks to everyone who 
helped me sort this out. Your generosity is very much appreciated!

But I have one more question... on the page 
http://mapserver.org/output/html_legend.html under the "Supported Tags" table 
in the section titled "CLASS block" they refer to [leg_class_title] that 
returns the CLASS TITLE value. Looking into the mapfile reference, I can't find 
any description for TITLE in either CLASS or LAYER. Can anyone clue me in on 
this --what it is and what's it for?

TIA,
- Bill Thoen


--

Bill Thoen

GISnet -  www.gisnet.com<http://www.gisnet.com>

1401 Walnut St., Suite C

Boulder, CO 80302

303-786-9961 tel

303-443-4856 fax
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to