[OpenLayers-Users] Map doesn't load in Internet Explorer

Christopher Schmidt crschmidt at metacarta.com
Tue Feb 9 15:59:40 EST 2010


On Tue, Feb 09, 2010 at 03:50:02PM -0500, J. Brian Adams wrote:
> I have written several OL applications that work well on OS X using  
> Firefox, Safari, and Chrome, but when I pass them on to colleagues  
> using Windows and IE they all say the same thing. The maps do not load  
> at all. They do, however, work fine on Windows if we use one of the  
> other browsers.
> 
> i checked this behavior on a borrowed PC away from the office and yes  
> the maps do not load at all.
> 
> Any thoughts on specific IE problems that might cause this type of  
> behavior?

OL.Layer("I see this", {'all': 'the', 'time': '(extra_comma)',});

map.addLayers([this,too,]);

IE doesn't support trailing commas in lists or hashes, however, if your
code works on Safari, you're likely already not doing that.

Other than those obvious issues, you'll need an IE debugger (Visual Studio
2008 works great, but costs money) to find more complex errors. 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list