paulscallanjr / google-ajax-examples

Automatically exported from code.google.com/p/google-ajax-examples
0 stars 0 forks source link

GE API - Fetch Good KML example doesn't work! #171

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to https://code.google.com/apis/ajax/playground/#fetch_good_kml
2. You will immediately see the pop-up error msg, saying "Bad or null KML"

What is the expected output? What do you see instead?
Expect "Good" KML to load and render.  It seems any kml with a 
3dWarehouse-hosted model in it just can't load.  When did this break??  If I 
manually paste the model's url in my browser, it downloads fine:

http://sketchup.google.com/3dwarehouse/download?mid=28b27372e2016cca82bddec656c6
3017&rtyp=k2

The error/alert message I get is:
"The page at https://savedbythegoog.appspot.com says:
Bad or null KML."

What version of the product are you using? On what operating system?
Installed Plugin Version: 7.1.2.2041
Chrome Browser on MacOSX 10.8

Please provide any additional information below.

Original issue reported on code.google.com by satyen.s...@gmail.com on 8 May 2014 at 9:08

GoogleCodeExporter commented 9 years ago
Added screenshot.  Looks like pretty much any time you try to fetchKml() on a 
legitimate, hosted KMZ file with a COLLADA model in it, it fails.  DAEs load 
fine still.

NOTE: Your Monster Milktruck and Driving Simulator demos are also currently 
broken for this same reason.  Both of these demos use fetchKML to load a KMZ 
w/Collada model.
http://earth-api-samples.googlecode.com/svn/trunk/demos/milktruck/index.html
http://earth-api-samples.googlecode.com/svn/trunk/demos/drive-simulator/index.ht
ml

However, this example works, still.  Not sure what's different about that 
hosted KMZ:
http://www.barnabu.co.uk/geapi/flightsim/

Original comment by satyen.s...@gmail.com on 8 May 2014 at 9:49

Attachments: