Adrian Custer a écrit :
> One of the old renderers allowed one to rotate the view using the mouse
> or keyboard. Does anyone know how this was done? I presume this was not
> a change of CRS on the renderer's context but that there was an extra
> affine transform in the rendering toolchain. Is this correct, can anyone
> elaborate.

You presume right, it was a change to the AffineTransform to be given to the 
java.awt.Graphics2D 
object. This work was carried by org.geotools.gui.swing.ZoomPane widget, which 
still exists in the 
ext/widgets-swing module. The ZoomPane is not tied to any particular renderer. 
JMapPane (or 
MapViewer?) could probably extends it and get this feature for free.

        Martin.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to