[OpenLayers-Users] IE8 error when adding a vector layer

Joao Duarte joao.c.duarte at co.sapo.pt
Fri Mar 20 06:32:30 EDT 2009


Hi list,

 

I was trying my OL app in IE8 and when I add a Vector Layer to the map, when
the time comes to assign the VML renderer, I get an error on this line (in
the VML constructor):

 

style.addRule('olv\\:*', "behavior: url(#default#VML); " + "position:
absolute; display: inline-block;");

 

Saying invalid argument.

 

This was not happening in IE7, and if in IE8 I turn on the compatibility
mode, there’s no error.

 

Anyone else saw this?

 

Regards,

 

João Duarte

 

SAPO Mapas,  <http://mapas.sapo.pt> http://mapas.sapo.pt

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090320/b985a74e/attachment.html


More information about the Users mailing list