[mapserver-users] User Layer Attributes Enhancement

Stephen Woodbridge woodbri at swoodbridge.com
Thu Jan 17 09:53:24 EST 2002


Hi all,

I had a thought along the lines of the Layer Debug attribute. It would
be nice to have say User1, User2, User3 Attributes on layer objects that
could be defined in the map file and referenced via mapscript.

One use I had for one of these would be to set a flag as to which layers
you might want to show on a user interface legend/control table like in
gmap75. By setting it in the map file you can decide which layers you
want to generate in the legend/control without having to explicitly list
the layers in the mapscript code which would lead to a separation of the
navigation script from the map file being displayed.

In the case of gmap, you would also have to have all the possible legend
items generated as images so also having an easy way to generate the
individual legend images would be great, but I think this can be done
with a simple mapscript if I think about it a little.

-Steve



More information about the mapserver-users mailing list