[Mapserver-users] Changing Layer Colors on-the-fly
Steve Lime
steve.lime at dnr.state.mn.us
Wed Oct 1 13:41:11 PDT 2003
You can use the REQUIRES parameter to toggle between 2 seperate layer
definitions. For example:
LAYER
NAME 'photos'
...
END
LAYER
NAME 'county_without_photo'
GROUP 'county'
REQUIRES '![photos]'
...
END
LAYER
NAME 'county_with_photo'
GROUP 'county'
REQUIRES '[photos]'
...
END
Depending on the status of the photos layer only one of the county
layers will be used.
Steve
>>> <blaine at plansight.com> 10/1/2003 11:08:44 AM >>>
All
I would like to change the colors of a layer
when another layer is turned on. (Specifically
when I turn on air photos I want other layers to
change to a color that can be seen easier.)
Anyone have suggestions on how to do that?
Blaine
_______________________________________________
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