[OpenLayers-Users] Draw features one by one in IE?
realjax
jax at schildmos.nl
Wed Jun 18 04:06:36 EDT 2008
Hi,
Since drawing rotated features (with an icon) in IE 6 is painstakingly slow
(14 times slower then Firefox), I was trying to see if I could have features
painted on the screen one by one, so the user has at least some visual
feedback, instead of looking at what seems a dead application for several
seconds.
When using the addFeatures method of the Vector class, IE -and Firefox as
well for that matter- only show all features at once, *after* all features
have been added. Even when I create a loop to add only one feature at a
time, the layer is only redrawn after completion of the loop.
When I attach a function to the event onFeatureAdded and for instance log
something to the console, things work as I'd expect and IE draws the
features one by one..
Can anyone comment on this, am I missing something ?
Thanks in advance!
--
View this message in context: http://www.nabble.com/Draw-features-one-by-one-in-IE--tp17961729p17961729.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list