[mapserver-users] Legend and styles
aznan
g8a at email.com
Fri May 27 07:51:12 PDT 2011
Hi!
I've made a map file with a layer that has two styles like so:
LAYER
GROUP "LayerGroup"
NAME "TheLayer"
CLASSGROUP "blue"
...
CLASS
NAME "The blue class"
GROUP "blue"
STYLE
SYMBOL "CIRCLE"
SIZE 10
WIDTH 2
COLOR 0 0 255
END
END
CLASS
NAME "The red class"
GROUP "red"
STYLE
SYMBOL "CIRCLE"
SIZE 10
WIDTH 2
COLOR 255 0 0
END
END
END
Setting styles=red in a GetMap request will change the color of the circles,
but the same does not work with GetLegendGraphic. Please help!
Thanks!
/Matti
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Legend-and-styles-tp6411331p6411331.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list