[OpenLayers-Users] Draw features one by one in IE?

Zer hcan at hotmail.com
Fri Jun 20 19:52:38 EDT 2008


Hi!

I have also seen this when trying to add a progress bar inside the loop.
Nothing was drawn on then map until the loop was finished, and the prgogress
bara was never updated.

Sorry to say, but I never found a solution to this....

-Z


realjax wrote:
> 
> 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--tp17961729p18039318.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list