Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread soatley
In case anyone else runs into this, I found out that after the map is created, it sometimes doesn't set a height or width value in the map.size property. Here's my fix which seems to work quite nicely: map = new OpenLayers.Map('map', options); if (isNaN(map.size.w) || isNaN(map.size.h)) {

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread Andreas Hocevar
soatley wrote: In case anyone else runs into this, I found out that after the map is created, it sometimes doesn't set a height or width value in the map.size property. Here's my fix which seems to work quite nicely: map = new OpenLayers.Map('map', options); if (isNaN(map.size.w) ||

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread Shawn Oatley
On 7/29/2009 at 11:57 AM, Andreas Hocevar ahoce...@opengeo.org wrote: soatley wrote: In case anyone else runs into this, I found out that after the map is created, it sometimes doesn't set a height or width value in the map.size property. Here's my fix which seems to work quite nicely:

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread soatley
Should have checked my CSS before posting that mesage. Here is what I already have defined in for my map object: #map { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; } Andreas Hocevar-2 wrote: soatley wrote: In case

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread Andreas Hocevar
Shawn Oatley wrote: On 7/29/2009 at 11:57 AM, Andreas Hocevar ahoce...@opengeo.org wrote: soatley wrote: In case anyone else runs into this, I found out that after the map is created, it sometimes doesn't set a height or width value in the map.size property. Here's my fix

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread Andreas Hocevar
soatley wrote: Should have checked my CSS before posting that mesage. Here is what I already have defined in for my map object: #map { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; } Add html, body { width: 100%,

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-27 Thread soatley
I have a feeling I am running into the same issue here. I am using Revision 9492 and the problem I encounter is the Invalid Argument error when adding vector layers to the map. I have tried it on IE 7 (Win XP 32 bit) and IE 8 (Vista 64, in compatability mode). IE 8 on Vista not in compat.

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-18 Thread palewire
I've encountered some IE8 errors too. Here's the paste from what the browser gives you. Is there anything I can do to help out? Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0) Timestamp: Thu, 18 Jun 2009 17:21:04 UTC Message: Invalid

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-18 Thread Christopher Schmidt
On Thu, Jun 18, 2009 at 10:23:15AM -0700, palewire wrote: I've encountered some IE8 errors too. Here's the paste from what the browser gives you. Is there anything I can do to help out? What SVN version is this with? This should only have been fixed in the last few commits. -- Chris

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-13 Thread Asle Benoni
Sorry Christopher and others. That was a bad one from me. I did't like my attitude there. Of course I will test it since I had the problem just now. Glad you pointed that out since I am always so glad and amazed at people here just helping out ;-) Hope I can contribute also. /asle Den 12.

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-12 Thread Kenneth Skovhede, GEOGRAF A/S
Note sure what the actual problem is, but there are notes that the patch does not solve all issues. There is a nother fix mentioned, namely the one in comment #20: http://trac.openlayers.org/ticket/1910#comment:20 This effectively places IE8 in IE7 compatibility mode, and it works. Although

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-12 Thread Andreas Hocevar
Hi, On Fri, Jun 12, 2009 at 8:53 AM, Kenneth Skovhede, GEOGRAF A/Sk...@geograf.dk wrote: Note sure what the actual problem is, but there are notes that the patch does not solve all issues. There is a nother fix mentioned, namely the one in comment #20:

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-12 Thread Asle Benoni
Thanks Kenneth, the compatibility hack works fine. I would rather not hack VML.js but I see this hack is newer than the one I tried. As long as the quickfix works I am satisfied. But would like to know if some have success with it and if it is included in future OL release. /asle 2009/6/12

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-12 Thread Christopher Schmidt
On Fri, Jun 12, 2009 at 03:52:54PM +0200, Asle Benoni wrote: Thanks Kenneth, the compatibility hack works fine. I would rather not hack VML.js but I see this hack is newer than the one I tried. As long as the quickfix works I am satisfied. But would like to know if some have success with it

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-12 Thread Mike Adair
I'm testing with that patch in the application I'm currently working on and for the most part it is a big improvement. The one remaining issue I'm seeing is feature labels don't show up in IE7 with the document in IE7 standards mode. Labels do show up in IE7 in quirks mode though. (Isn't it

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-12 Thread Andreas Hocevar
Hi, I can confirm that IE7 in standards compliant mode does not render labels - with or without the patch. So that is a separate issue, and I created http://trac.openlayers.org/ticket/2135 to track it. Regards, Andreas. On Fri, Jun 12, 2009 at 4:23 PM, Mike Adairmad...@dmsolutions.ca wrote:

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-12 Thread Nathan Gerber
All, Using this patch: http://trac.openlayers.org/attachment/ticket/1910/openlayers-1910.patch I have run tests using various versions of Internet Explorer IE6 (XP): patch works fine, vectors render with labels IE7 (XP): patch works fine, vectors render but not with labels while in standards

[OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-11 Thread Asle Benoni
Hello, I have a MapFish setup with everything working fine in all browsers exept IE8. When I load the page in IE8 the map is blank and a message says. *Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR