Thanks Alot :D , I think I found it 

Sb is a stylebuilder
Simply sb.createGraphic(ExternalGraphic,null,null...........,Expression
rotation)

                 I used sb.attributeExpression("angle") for the rotation
expression worked like a charm :D:D

Again Thanks alot




-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Rotating-a-symbolizer-or-a-graphic-based-on-an-attribute-tp5740915p5745529.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to