[OpenLayers-Users] Map doesn't load in Internet Explorer
J. Brian Adams
jb_adams at verizon.net
Sun Feb 21 23:07:49 EST 2010
Thanks for your help.
After scrutinizing my code I realized that this was not a problem with
OpenLayers as such. Instead it was the issue mentioned (about
extraneous punctuation.) but it was that I had an extra semi colon on
the last line of each group in my style sheets.
Brian
On Feb 9, 2010, at 3:59 PM, Christopher Schmidt wrote:
> 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