vonguillo / geoxml3

Automatically exported from code.google.com/p/geoxml3
0 stars 0 forks source link

Internet explorer 10 failed to load kmz #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
Thank you.

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