On Mon, Feb 7, 2011 at 8:53 AM, Robert Buckley <[email protected]> wrote:
> Hi,
>
> I have an easy question. I am trying to include a line break in the
> following label after "Solar i.D"
>
> I have tried the following..
>
>  <![CDATA[ Solar i.D <BR> ]]
>  <![CDATA[ Solar i.D <BR/>]]
>  <![CDATA[ Solar i.D \n ]]
>
> <Label>
>                  <![CDATA[ Solar i.D
> ]]><ogc:PropertyName>Solar_Kopf</ogc:PropertyName><![CDATA[ KW/h ]]>
>
> <Label>
>
> I have tried other html tags, but they also do not work.
>
> I am obviously forgetting something.


Line breaks at the end of the label do nothing, they are eaten away as
per SLD spec.
Try adding one in the middle, that should work (I think)

Cheers
Andrea

-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to