[OpenLayers-Users] Error in MSIE 8 creating a vector layer using OpenLayers 2.8 rc2

stephane.poirier at usherbrooke.ca stephane.poirier at usherbrooke.ca
Mon May 18 12:10:24 EDT 2009


Hi All,

I get an error in new MSIE 8 when adding a layer with the line: var daigridLayer=new OpenLayers.Layer.Vector("DAI Grid"); 

I use the library OpenLayers 2.8 rc2 and MSIE8 complains with the internal line:
style.addRule('olv\\:*',"behavior: url(#default#VML); "+"position: absolute; display: inline-block;")

This error does not happen in compatibility mode (MSIE7 and earliers).
This error does not happen with Mozilla Firefox.
This error does not happen in Google Chrome neither.

Regards,


Stéphane Poirier
Professionel de recherche au CARTEL
Centre d'Applications et de Recherches en Télédétection
Département de géomatique appliquée
Université de Sherbrooke
Sherbrooke (Québec), CANADA J1K 2R1
Tel.: (+1 819) 821 8000 #61904
Fax.: (+1 819) 821 7944
Stephane.Poirier at USherbrooke.ca
http://www.usherbrooke.ca/cartel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090518/4df65dee/attachment.html


More information about the Users mailing list