[OpenLayers-Dev] VML optimization- node.style.cssText in IE possible?

ashley_c_mort ashley_c_mort at raytheon.com
Thu Apr 8 01:49:03 EDT 2010

    We are trying to optimize the performance of our app that uses
OpenLayers (IE 7&8).  It appears that the node.style calls in the VML.js are
taking a lot of time in certain cases and we were trying to use cssText to
get it done in one call.  Has anyone tried using one node.style.cssText call
instead of multiple node.style calls?  
    Using node.style.cssText works one time when the data is first drawn but
future changes to the node's cssText don't seem to take effect (ex: data
will be created in the correct location but the data never moves [top, left]
when the user zooms).
    Any ideas are greatly appreciated?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100408/b3226933/attachment.html

More information about the Dev mailing list