fititnt / geoxml3

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

geoxml3 on ipad #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. load a web page on safari or chrome with a kml file in ipad3
2.
3.

What is the expected output? What do you see instead?
the expected output is a polygon and it doesn't appear in ipad screen but in 
the pc yes

What version of the product are you using? On what operating system?
ipad 3 ios 6

Please provide any additional information below.

Original issue reported on code.google.com by emiliors...@gmail.com on 15 Nov 2012 at 10:07

GoogleCodeExporter commented 8 years ago
i'm using this code to print the kml

        function pma(pma_Selected) {

            //var PMADataSplit = _PMA.split(",");
            var kmlURL = "../KML/" + pma_Selected + ".kml";
            var myParser = new geoXML3.parser({ map: map,
                suppressInfoWindows: true,
                zoom: false
            });
            myParser.parse(kmlURL);
        }

Original comment by emiliors...@gmail.com on 15 Nov 2012 at 10:19

GoogleCodeExporter commented 8 years ago
Which branch and version of geoxml3 are you using? Can you provide a complete 
example? 
Is the KML being served by a webserver or is it in the local filesystem?

Original comment by geocodezip on 16 Nov 2012 at 12:19

GoogleCodeExporter commented 8 years ago
is the only code i'm using, i call the pma function from the onload in the 
body, the parameter pma_selected is the name of an kml archive in the local 
file system, using chrome in my lap it works fine but in the chrome for ipad 
not or in safari as well, the version that i'm using i suppose it's old because 
i have it since 4 or 5 months ago, tomorrow i'll see the .js in order to find 
the version if it is mentioned there and i'll tell you, thank you very much.

Original comment by emiliors...@gmail.com on 16 Nov 2012 at 3:59

GoogleCodeExporter commented 8 years ago
Some browsers don't allow access to local files, a security decision.  If that 
is what you are running into, you have to configure the browser to allow 
XmlHttpRequest to access local files. 

Which branch and version of geoxml3 are you using?  If you don't know and can't 
tell what version of geoxml3 you are using, you can attach it to this issue in 
your comment.

Original comment by geocodezip on 16 Nov 2012 at 7:15

GoogleCodeExporter commented 8 years ago
hello again, what appear in the geoxml3.js file in the comments section at the 
begining is this

/*
    geoxml3.js

    Renders KML on the Google Maps JavaScript API Version 3 
    http://code.google.com/p/geoxml3/

   Copyright 2010 Sterling Udell, Larry Ross

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

*/

is there a problem with this version?, do i have to upgrade it?, how can i 
configure the browsers in ipad to allow xmlhttprequest?, or wwhich would be the 
best solution?, thank you

Original comment by emiliors...@gmail.com on 16 Nov 2012 at 2:33

GoogleCodeExporter commented 8 years ago
1. I can't tell what version you are using from just that snippet, please 
attach the whole file to a comment in this issue (click the attach a file link).
> is there a problem with this version? do i have to upgrade it?
2. I don't know (since I can't tell what version it is)
> how can i configure the browsers in ipad to allow xmlhttprequest? , or which 
would be the best solution?
3. I don't know anything about the iPad (yet)

Original comment by geocodezip on 16 Nov 2012 at 3:07

GoogleCodeExporter commented 8 years ago
here you have the .js file, thanks

Original comment by emiliors...@gmail.com on 16 Nov 2012 at 3:21

Attachments:

GoogleCodeExporter commented 8 years ago
i made a test with safari on the pc and also it works fine :( i hope you can 
show me the way :)

Original comment by emiliors...@gmail.com on 16 Nov 2012 at 3:30

GoogleCodeExporter commented 8 years ago
I don't have an ipad.  You will need to define the problem.  Do you see any 
error messages in the java console?  Which version of the Google Maps API v3 
are you using? v3, v3.9, v3.10, v3.exp, something else? Does changing the API 
version help?

Original comment by geocodezip on 1 Dec 2012 at 4:10

GoogleCodeExporter commented 8 years ago
Looks like you are using a fairly old version of geoxml3 from the polys branch. 
 There have been a number of updates and fixes.  Perhaps you could try the 
latest version.

Original comment by geocodezip on 1 Dec 2012 at 4:19

GoogleCodeExporter commented 8 years ago
Thank you for this information, but i downloaded geoxml3.js from this link
http://code.google.com/p/geoxml3/source/browse/branches/kmz/geoxml3.js?r=72I
suppose is the latest one and it still not working, can you send me
please a link where i can download it?, thanks!!!

Original comment by emiliors...@gmail.com on 4 Dec 2012 at 6:05

GoogleCodeExporter commented 8 years ago
That is r=72 of the kmz branch (the revision number is in the URL).  This is 
the latest version of the kmz branch:
http://code.google.com/p/geoxml3/source/browse/branches/kmz/geoxml3.js

If you don't need to support kmz (zip compression), I would suggest trying the 
latest version of the polys branch:
http://code.google.com/p/geoxml3/source/browse/branches/polys/geoxml3.js

The kmz branch includes the zip decompression support, and may not be as 
portable.

If you can report errors or point me to a way to reproduce the problem on a 
Windows or Linux PC, I might be able to help.

Original comment by geocodezip on 4 Dec 2012 at 6:38

GoogleCodeExporter commented 8 years ago
Closing due to inactivity, lack of input.

Original comment by geocodezip on 8 Jan 2013 at 6:38