Hi, <div><br></div><div>I'm experiencing serious issues when adding a KML-Layer to OpenLayers in the IE. The KML-Data is - up to this state of development - provided by a JSP. When just creating the KML-Layer everything is fine, but when actually adding it to the map the IE8 consumes 50-80% CPU-Usage and just crashes. No interaction or anything possible.</div>

<div><br></div><div>Creating and adding works just fine in Chrome and Firefox.</div><div><br></div><div>Does anyone have any hints on this? How is the internal OpenLayers mechanisms? Isn't the data obtained and created on "new OpenLayers.Layer.Vector(...)" already? How is it this works but adding it to the map doesn't? It's something around 150 objects. Each consisting of one Point-Placemark and on LineString-Placemark.</div>

<div><br></div><div>Here's my code for creating the layer:</div><div><br></div><div><div>    kmlLayer = new OpenLayers.Layer.Vector("KML", {</div><div>                strategies: [new OpenLayers.Strategy.Fixed(),</div>

<div>                             new OpenLayers.Strategy.Refresh({force: true, interval:  5000 })],</div><div>                protocol: new OpenLayers.Protocol.HTTP({</div><div>                    url: "track-server.jsp",</div>

<div>                    params: { </div><div>                        'track': 1,</div><div>                        'label': 1,</div><div>                        'speed': 6</div><div>//                      'speed': $("#speedLengthSelector").val(),</div>

<div>                        },</div><div>                    format: new OpenLayers.Format.KML({</div><div>                        extractStyles: false, </div><div>                        extractAttributes: true,</div><div>

                        maxDepth: 2</div><div>                    })</div><div>                }),</div><div>                styleMap: styleMap</div><div>            });</div><div><br></div><div>    map.addLayer(kmlLayer);</div>

</div><div><br></div><div>Many thanks in advance, </div><div>Andreas</div><div><br></div><div><br></div>