Hi. What doesn't work? Do you get an error? Does IE load the page? Is your problem just that your loadend callback gets never called? If it's the latter i really dont know how that could work on FF and not on IE - we have tons of event-related unit tests that just pass on every browser. Sorry for not being helpful here. Cheers. Eric
2008/7/24, Arnd Wippermann <[EMAIL PROTECTED]>: > Hi, > > I want to catch the loadend of a kml layer. I tried it this way and it works > for FF, but not for IE6. > > var lyr = new OpenLayers.Layer.GML("Pentominoes", "kml/Pentominoes.kml", > { > format: OpenLayers.Format.KML, > formatOptions: { > extractStyles: true, > extractAttributes: true > } > }); > > map.addLayer(lyr); > > lyr.events.register("loadend", lyr, function (e) { > var objFs = lyr.features; > for(var i=0;i<objFs.length;i++) > { > objFs[i].attributes.rotate = 0; > objFs[i].attributes.mirror = 0; > } > if(solutionNo>0) > Solution(solutionNo); > }); > > Can anyone show me a solution that works also in IE? > > Arnd Wippermann > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users