Internet explorer 10 failed to load kmz
Closed this issue · 8 comments
GoogleCodeExporter commented
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
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
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
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
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
GoogleCodeExporter commented
Original comment by geocodezip
on 16 Jan 2013 at 4:52
- Changed state: Fixed
GoogleCodeExporter commented
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:
- [ie 10 fixed.png](https://storage.googleapis.com/google-code-attachments/geoxml3/issue-78/comment-6/ie 10 fixed.png)
GoogleCodeExporter commented
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:
- [zipfile code.png](https://storage.googleapis.com/google-code-attachments/geoxml3/issue-78/comment-7/zipfile code.png)
GoogleCodeExporter commented
Thank you.
Original comment by geocodezip
on 16 Jan 2013 at 6:40