[OpenLayers-Users] IE8 error when adding a vector layer
Christopher Schmidt
crschmidt at metacarta.com
Fri Mar 20 07:46:54 EDT 2009
On Fri, Mar 20, 2009 at 10:32:30AM +0000, Joao Duarte wrote:
> 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, theres no error.
OpenLayers has not been tested much in IE8. I would say that for the 2.8
release or earlier, the bst solution is simply to add the compatibility
mode flag.
-- Chris
>
>
> Anyone else saw this?
>
>
>
> Regards,
>
>
>
> João Duarte
>
>
>
> SAPO Mapas, <http://mapas.sapo.pt> http://mapas.sapo.pt
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list