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

Kusum kusum at infobase.in
Mon Jun 23 01:19:38 EDT 2008


Hiii

I faced the same problem in IE.
Thought it was problem on my end
the results for requested polygon features came fast but the add features 
took much time to draw them
in IE where  as in Mozilla it took much lesser time than this.

If you guys get any solution do pass it here too

Regards
Kusum
--------------------------------------------------
From: "realjax" <jax at schildmos.nl>
Sent: Sunday, June 22, 2008 6:20 PM
To: <users at openlayers.org>
Subject: Re: [OpenLayers-Users] Draw features one by one in IE?

>
>
>
> Eric Lemoine-3 wrote:
>>
>> Do you unserialize the features (using some Format object) before you
>> add them to the vector layer? If so have you verified that it is not
>> that unserialization process that actually takes time in IE6? Given
>> that addFeatures seem to draw all features at once it seems to me that
>> addFeatures is very fast. addFeatures gets slower when you write to
>> the console for each feature, hence the "features drawn one by one"
>> effect. If that's indeed the unserialization process that takes time,
>> one could imagine requesting features page by page (possibly using the
>> paging strategy that's being developed in the vector-behavior
>> sandbox).
>>
>
> Hi Eric,
>
> No unfortunately. I measured the addfeatures method to be the bottleneck
> here. It receives an array with features and then the delay starts..
> I did a test with 800 objects.  That took IE over 200,000 ms, while 
> Firefox
> was done in 4000...
>
> Anyway, looks like I need to do some more research..
> Thanks for your help sofar!
> -- 
> View this message in context: 
> http://www.nabble.com/Draw-features-one-by-one-in-IE--tp17961729p18054250.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users 





More information about the Users mailing list