Does anyone has any idea why adding Markers to a Marker layer is much
slower in IE than in Firefox ?

The following code takes 3 to 4 secondes and up to 20 secondes or more in IE :

for (var i = 0; i < 500; i++) {
                var x = Math.random() * 100;
                var y = Math.random() * 100;
                var marker=new OpenLayers.Marker(new OpenLayers.LonLat(x,y));
                markers.addMarker(marker);
}

Regards

Pierre
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to