Hi, make sure that you don't create vector layers before the document is loaded. The easiest way to do this is to start building your map in the document's onload handler. This is what all OpenLayers examples do.
Regards, Andreas. On Apr 28, 2010, at 15:30 , Jimmy Aumard wrote: > Hello, > > I use OpenLayers 2.9 and I have an error on IE 8 with return > !!(document.namespaces); (VML.js, l 84, c 9) > The first load it's work correctly but if I reload the page I have always > this error > > Thanks > > Jim > -- > Aumard Jimmy > Développeur > > KINAXIA > c/o CICA / PacaEst > 2229 Route des Crêtes > F-06560 Sophia Antipolis > > Tél.: +33 (0)4 8973 0242 > Mob.: +33 (0)6 6017 2827 > Fax : +33 (0)4 8307 6583 > > http://www.kinaxia.fr > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
