berthao / geoxml3

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

KMZ files on iPad #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to load kmz files on iPad.
2.
3.

What is the expected output? What do you see instead?
I expected the map and polygon but I don't see only the blank div. Though with 
kml files works so it seems that zip decompressor does not work on iOS. 

What version of the product are you using? On what operating system?
I use latest kmz branches. Webserver is Apache on Windows system. On iPad is 
iOS 6.1.2.

Please provide any additional information below.
On Windows work well and also I tried on a Samsung Galaxy S2 phone with Android 
and work too.

Original issue reported on code.google.com by djuc...@gmail.com on 27 Feb 2013 at 7:54

GoogleCodeExporter commented 9 years ago
Possible duplicate of issue #75
http://code.google.com/p/geoxml3/issues/detail?id=75

I don't have an iPad, if you can identify the issue or provide a way for me to 
duplicate the problem on a Windows PC or a Linux PC I will look into it.

Original comment by geocodezip on 2 Mar 2013 at 12:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Difference from Issue #75 is that to the one who post this issue the kml files 
does not work. On mine work the kml files on iPad. I have problem only with 
some kmz files.
I cannot replicate the issues on Windows and Linux.

Original comment by djuc...@gmail.com on 2 Mar 2013 at 6:25

GoogleCodeExporter commented 9 years ago
Meanwhile I managed to replicate problem with kmz on Safari for Windows. I 
located where occur the error using Web Inspector from Safari (see attached 
image).

Original comment by djuc...@gmail.com on 2 Mar 2013 at 6:49

Attachments:

GoogleCodeExporter commented 9 years ago
I changed the apply/array limit from 99999 to 65536 ("arrayLimit" and "end" 
variables) and now work in Safari for Windows and also on iPad (in Safari and 
Chrome).

Original comment by djuc...@gmail.com on 2 Mar 2013 at 10:23

GoogleCodeExporter commented 9 years ago
> I changed the apply/array limit from 99999 to 65536

Is that a typo? (99999 is bigger than 65536)

To assist anyone else that might run into this issue, could you provide 
instructions on how to do that or a link to a description on how to make that 
change?

Original comment by geocodezip on 3 Mar 2013 at 4:21

GoogleCodeExporter commented 9 years ago
I decreased the value for these two variables ("arrayLimit" and "end") to 65536 
because 99999 is too big for Safari and for Chrome (iPad version). These 
variables are in ZipFile.complete.js (r91) on line 137 and 142.

Original comment by djuc...@gmail.com on 3 Mar 2013 at 8:40

GoogleCodeExporter commented 9 years ago
Fixed revision 95.  Hopefully nothing else breaks.  Thanks for the 
investigation and the fix.

Original comment by geocodezip on 4 Mar 2013 at 2:48