[OpenLayers-Users] Problem with TextSymbolizer
gabriel
gpetricek at gmail.com
Fri Feb 15 05:44:18 PST 2013
Hi guys,
i have many layers with parameter transparent set to true. Im changing their
sld styles via sld_body. The problem is , when i change or set
TextSymbolizer and its parameters to text layers , which are published from
Geoserver (they have geometry),text is displayed but it is not so good
visible. I think , the problem is with transparent parameter, but i need it
, to see layers. If i set transparent to false, i cant see layers below
current layer.
There is an example of SLD , it is send thru the mergeParams function:
<StyledLayerDescriptor
version="1.0.0"><UserLayer><Name>layer</Name><UserStyle><FeatureTypeStyle><Rule><TextSymbolizer><Label><PropertyName>name</PropertyName></Label><Fill><CssParameter
name='fill'>#54FFD7</CssParameter></Fill><CssParameter
name='font-size'>20</CssParameter><CssParameter
name='font-weight'>bold</CssParameter></TextSymbolizer></Rule></FeatureTypeStyle></UserStyle></UserLayer></StyledLayerDescriptor>
Im setting bold, italic , size values for WMStext layers.
Is there other way to fix this problem or where am i doing mistake ?
Best regards.
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Problem-with-TextSymbolizer-tp5034546.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list