Hi Domenico,
you wrote: .... > If we admit both visual experience and what Andr� says then this > is not true or proven, and your statement can mislead other users, > taking away from them the opportunity to benefit from the potential > of the scripts in the library, which were written with the intention > of providing optimized and easy to implement routines. One capital > goal was also highest possible execution speed, especially to > partially palliate display and rendering limitations. I think the > goal was achieved, as a simple visual test can prove. .... Wrong, the performance goal was not achieved ! First of all, try your example "SVG MAP" with more parcels. E.g. 500 or 5000 and combined with a image. You will notice the perfomance loss on setting the viewbox to achieve a pan/zoom. I tried and compared performance by myself. Using currentTranslate and currentScale is much faster. And for retrieving/recalculating the coordinates of pointer-events when currentTranslate or currentScale is set is easy. You just have to d it. Unfortunately most svg "widget" developers are not aware that these parameters can affect their event handling and the visible size of their controls. Therefore I must agree to alex: setting viewBox is slower (maybe even the slowest possible solution) than currentTranslate and currentScale. One think mus be said about currentTranslate. in ASV 3 you cannot set the values to be larger than (+/1)32786. (SVG Spec. says that these values must be float, Adobe seems to handle that as signed integer :-((). So when you encounter the currentTranslate to get bigger than that value, you have to reset the viewBox to workaround that bug. ciao, Claudius ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

