[OpenLayers-Users] Slow performance when zooming in to large
vector object in IE
Andreas Hocevar
ahocevar at opengeo.org
Wed Sep 17 16:33:39 EDT 2008
Zer wrote:
> I have a vector layer containing some pretty large vectors. In IE7, when
> zooming in within one of these vectors so that the vector object exceeds the
> view port, performance gets really slow at zoom levels 1 and 0. IE appears
> to hang for up to 30 sec, and when released, panning is almost impossible.
> In Firefox, this is not a problem. IE and vector doesn't seem to be the
> best combination, but does anyone know if there is a solutions to this
> problem?
>
Can you provide a public accessible demo?
Also, it would be interesting to know which version of OpenLayers you
are using. Version 2.7 (currently at release candidate 2) has several
improvements here, compared to 2.6.
If you can render your vectors on a server, then do that. If you need
mouseover effects and other interaction on the map, it is probably ok to
render vectors on the client. Also, as a rule of thumb, if the number of
features/vertices goes up to the 1000s, things are likely to get slow,
especially in IE.
Regards,
Andreas.
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list