[OpenLayers-Users] IE8 error when adding a vector layer
Joao Duarte
joao.c.duarte at co.sapo.pt
Fri Mar 20 09:02:05 EDT 2009
Yes Chris, I think that's better too.
http://groups.google.com/group/google-excanvas/browse_thread/thread/8762ed1e
de73509
https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=33390
5
The two links above give me some hints but I still haven't figured out the
whole picture.
For those who don't know, as described here:
http://blogs.msdn.com/ie/archive/2008/06/10/introducing-ie-emulateie7.aspx
You can use the following meta-tag to tell IE8 to automatically display in
compatibility mode:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Hope it helps ;-)
João Duarte
SAPO Mapas, http://mapas.sapo.pt
-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com]
Sent: sexta-feira, 20 de Março de 2009 11:47
To: Joao Campos Duarte (PRIMEIT)
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] IE8 error when adding a vector layer
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