vu-dang/geoxml3

Internet explorer 10 failed to load kmz

Closed this issue · 8 comments

What steps will reproduce the problem?
1. Internet Explorer 10
2. Windows 8 Pro

Using the latest versions of: 
ZipFile.complete.js r83
geoxml3.js r89

Please provide any additional information below.
--> See the screenshots added as attachment!

Original issue reported on code.google.com by g.m.hell...@gmail.com on 15 Jan 2013 at 3:47

Attachments:

I don't have IE10.  Looking at this:
http://robert.accettura.com/blog/2006/12/02/xmlhttpreqoverridemimetype-in-ie7/

Does it work if you change the 
this.req.overrideMimeType('text/plain; charset=x-user-defined');
to 
if (!!this.req.overrideMimeType) this.req.overrideMimeType('text/plain; 
charset=x-user-defined');

and

this.req.overrideMimeType('application/octet-stream; charset=x-user-defined');
to 
if (!!this.req.overrideMimeType) 
this.req.overrideMimeType('application/octet-stream; charset=x-user-defined');

Original comment by geocodezip on 15 Jan 2013 at 4:50

I don't see that error in IE8:
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmztest_linkto.html?filename=h
ttp://www.geocodezip.com/geoxml3_test/buffetthawaiitour_kmz.zip

Original comment by geocodezip on 15 Jan 2013 at 8:54

The first comment fixed the problem.

Thx for the quickfix

Original comment by g.m.hell...@gmail.com on 15 Jan 2013 at 9:25

I made that change and checked it into the archive (revision 91).  As I don't 
have IE10, I would appreciate it if you could test it.

Original comment by geocodezip on 16 Jan 2013 at 2:33

  • Changed state: Accepted

Original comment by geocodezip on 16 Jan 2013 at 4:52

  • Changed state: Fixed
Here is an attachment to confirm that internet explorer 10 is fixed

Original comment by g.m.hell...@gmail.com on 16 Jan 2013 at 5:50

Attachments:

Another screenshot of the specific code in ZipFile.complete.js

Original comment by g.m.hell...@gmail.com on 16 Jan 2013 at 5:58

Attachments:

Thank you.

Original comment by geocodezip on 16 Jan 2013 at 6:40