Re: [OpenLayers-Users] potential big IE performance enhancement-help!

2010-05-26 Thread Polet Guillaume
mortac8 Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] potential big IE performance enhancement-help! On May 18, 2010, at 19:21 , mortac8 wrote: > > That actually seems a bit slower :( > 2:59- to render my layer setting node.style.display="none"; then > node.style.d

Re: [OpenLayers-Users] potential big IE performance enhancement- help!

2010-05-18 Thread Andreas Hocevar
On May 18, 2010, at 19:21 , mortac8 wrote: > > That actually seems a bit slower :( > 2:59- to render my layer setting node.style.display="none"; then > node.style.display=""; > 2:42- the original way > > I don't understand why setting node.style.cssText is different than > node.style. Can you

Re: [OpenLayers-Users] potential big IE performance enhancement- help!

2010-05-18 Thread mortac8
That actually seems a bit slower :( 2:59- to render my layer setting node.style.display="none"; then node.style.display=""; 2:42- the original way I don't understand why setting node.style.cssText is different than node.style. Can you explain it briefly? I ask because the simple example below

Re: [OpenLayers-Users] potential big IE performance enhancement- help!

2010-05-18 Thread Andreas Hocevar
Hi, setting cssText is not the same as setting the style. But you could instead try to call node.style.display = "none"; as first line of the setStyle method, and node.style.display = ""; as last line of the setStyle method. Let us know if this also boosts performance. Good luck, Andreas.

[OpenLayers-Users] potential big IE performance enhancement- help!

2010-05-18 Thread mortac8
I think there is a potential to greatly improve the rendering performance in IE (cases of large# of points). Take points for example. In VML.js setStyle, every .style action seems to trigger a browser reflow: node.style.width="18px"; //1st reflow node.style.height="18px"; //2nd reflow node.styl