Hi Andreas, Andreas Neumann wrote: > I am happy to report that I have now partial success and can see the > effects of the static patch. It works both on Windows and Macintosh > (even Macintosh ;-)!).
Yes, I would suspect the inital drawing would be quite slow, but the 'repaints' should be fairly quick (although potentially not as fast as possible). > Here are two examples where I applied the static attribute: > http://www.carto.net/neumann/temp/mapWaadt.svg > http://www.carto.net/neumann/temp/mapSpain.svg > > So, it also seems to work well with rasters. Yes, the point I was making about rasters earlier is not that something about Rasters make them slow, just that drawing a raster is sooo fast already that caching a screen version of the data isn't a big win. > Next I tried to apply the static attribute to my more dynamic mapping > examples. > > Here is the URL: > http://www.carto.net/papers/svg/postgis_geturl_xmlhttprequest/example.svg [...] > In that case I am not that sure if the static attribute fully works. It > seems to run somehow faster, but not as fast as in the first two examples. Yes, I have noticed this, and I am not sure why it is not as big a difference. I suspect that the Java2D renderer is dropping into a lower performance drawing case, when I get the change I may play with it more. I would check things like clip-paths and the like. > As you suggested, I also stopped updating the display of the mouse > coordinates during panning. > > Is there a problem if I first change stuff within the group where I > later (during the same script run) set the static attribute of that > group to "true"? No, there should be no problem with this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
