[Mapserver-users] Q: Dynamic Legends

Matt Doggett mdoggett at coas.oregonstate.edu
Thu Jan 29 11:29:33 EST 2004


I believe HTML legends will do the trick. In the legend_template.html
file you could specify [leg_class_html opt_flag=12] for example. see the
HTML legend How-To for more details about the opt_flag bit mask.

http://mapserver.gis.umn.edu/doc40/html-legend-howto.html

MD

>-----Original Message-----
>From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-
>admin at lists.gis.umn.edu] On Behalf Of Jean-Henry Berevoescu
>Sent: Wednesday, January 28, 2004 8:12 PM
>To: mapserver-users at lists.gis.umn.edu
>Subject: [Mapserver-users] Q: Dynamic Legends
>
>
>Hi,
>Is there a way to have the legend dynamically show only the classes of
a
>layer actually
>shown in a map (not the whole defined set in the mapfile)?
>
>Jean
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list