Consider the 2 styles below. The first style does not display a label, but the second style does display a label for each rule on the legend graphic. This behavior is intentional? We’d imagine the label would be displayed on both cases.
<FeatureTypeStyle> <Rule> <Name>My label</Name> <Title>My label</Title> <PolygonSymbolizer> <Fill> <CssParameter name="fill">#CCFCF5</CssParameter> </Fill> </PolygonSymbolizer> </Rule> </FeatureTypeStyle> and <FeatureTypeStyle> <Rule> <Name>My label</Name> <Title>My label</Title> <PolygonSymbolizer> <Fill> <CssParameter name="fill">#CCFCF5</CssParameter> </Fill> </PolygonSymbolizer> </Rule> <Rule> <Name>My label 2</Name> <Title>My label 2</Title> <PolygonSymbolizer> <Fill> <CssParameter name="fill">#00FF00</CssParameter> </Fill> </PolygonSymbolizer> </Rule> </FeatureTypeStyle>
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users