I am working on a project that uses openlayers where IE8 compatability is a requirement. Unfortunately, there seems to be some performance issues with OpenLayers in IE8 when parsing a large number of polygons / points from server side data.
I have already developed a custom data exchange format based on JSON (After experimenting with both GeoJSON and WKT) which has yielded a large performance boost, but I still think I need more.
One current bottleneck in the application seems to be in initializing points - I have a test case where I am initializing geometries with over 85000 points and it takes a few seconds on a virtualized IE8 box.
I will be implementing strategies of lazy initialization, but it also occurred to me that in server side libraries like JTS, multi-point, line string, and linear ring instances may be backed by a packed coordinate sequence - a single array containing all required ordinates
Has anybody seen any examples of using this pattern with OpenLayers, or can anybody provide any insight or advice in implementing it? Aside from creating the geometry type objects themselves, I would need to add support for these types to the renderers. Are there any other places where I would need to add support for them?
In short, what are the steps required in order to add support for custom geometry type to OpenLayers?