Jay Askren a écrit : > I'm looking at the old and new code for JMapPane and had a couple of > questions. First, why is the new version so slow? On the new version, > when I zoom in and out or pan it takes 60 seconds or more before > anything happens at all. By the time it finishes I've about forgotten > what action I was even running. The old version didn't seem to have > that lag. Also, I notice the old version inherits from ZoomPane and > the new version does not. I did notice that ZoomPane inherits from a > deprecated interface. But that is an easy fix since it appears a newer > version of that interface can be found in the same package. Is there > any reason for not using ZoomPane? Thanks.
Sorry for the delay; I'm just back to an internet connection. The old MapPane was build on top of "J2D-Renderer", a quite sophesticated renderer engine with a lot of optimisation. The code was probably ten time bigger than JMapPane. Unfortunatly, it was build on legacy Coordinate Transformation Service (CTS) and Grid Coverage (GC) implementations. I was suppose to port them to the new CRS and GridCoverage implementations, but never had the time. A few months ago, the Geotools PMC decided to delete the legacy CTS and GC implementations; it was the gt2-legacy module. As a consequence, it was not possible to compile the old MapPane anymore. A new implementation is under way in the GO-1 module: http://maven.geotools.fr/reports/go/ but we are facing the same problem: I'm missing time for this work (already busy with other Geotools issues), and this work is quite hard to split among many contributors since this renderer is non-trivial... Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users