|
From: Ian T. <ijt...@gm...> - 2005-07-15 09:12:35
|
On 7/15/05, Zekeng liang <ken...@ho...> wrote: > Hi, > I have got another problem, that is how to show the buildings' name using > different rotation according to the rotation attribute. There is a table = to > store the name list, each name record has a rotation attribute indicating > how the name should rotate when displaying on the map. So how to do if I > want to use this rotation attribute. I found out that the TextSymbolizer > constructor does not contain the rotation parameter. Any idea for that? >=20 The position and rotation of the TextSymbolizer is set in the LabelPlacement given to it. This can be either a PointPlacement or a LinePlacement - in your case I'd use a PointPlacement it has an AnchorPoint (where it is), a displacement (an offset) and a rotation. Hope that helps Ian --=20 Ian Turton http://www.geotools.org http://www.ccg.leeds.ac.uk |