Antonio Caccese a écrit :
i have created a map viewer. I would know if exist a way to rotate
the map of a given angle. I use StyledMapPane.

The following should work:

AffineTransform change = new AffineTransform();
change.rotate(thetaRadians, centerX, centerY);
zoomPane.transform(rotate);

        Martin.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to