Hello, try to make sure that you start the map initialisation when everything else is loaded. I used to use Jquery's $(document).ready() but needed to switch to $(window).load() because ready() fired to early ...
Frank Am 23.04.2010 13:56, schrieb Enrico Sartorello: > Hi, > > I'm experiencing some troubles using OL 2.9 with IE8. > I'm trying to add to my OpenLayers map a vector layer: it works > perfectly on FF\Chrome, but in IE8 there's an error. > > Inside map.addLayer() call, the problem arises in VML.js, lines 147-160: > basically, what I've found debugging is that vars this.root, > this.vectorRoot, this.textRoot have all the attributes (even style, > which is the one used in those lines) set to "Failed". Only > this.rendererRoot has right values. > > The vector layer is loaded after window.onload, coupled with the opening > of an AJAX panel. > Using "EmulateIE7" mode doesn't solve anything. > > What can it be? > Thanks in advance for your attention :-) > > -- > Enrico Sartorello > > > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users -- Frank BRONIEWSKI METRICO s.à r.l. géomètres technologies d'information géographique rue des Romains 36 L-5433 NIEDERDONVEN tél.: +352 26 74 94 - 28 fax.: +352 26 74 94 99 http://www.metrico.lu _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users