be88ex / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
1 stars 0 forks source link

getKml() fails on large KML objects in GE plugin #270

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. load large kml file (350kb kmz file does it) via fetchKml using the GE
plugin
2. append the kml to the plugin, save the kml object off in the browser
3. try to display the kml by calling object.getKml()

What is the expected output or behavior? What do you see instead?

Showing the kml string is expected.  In reality, you get an error message
"Error calling method on NPObject!" in FireFox3; in IE you don't get the
error message, you just see nothing.

Which plugin version are you using?

I upgraded to the latest version of GE (5.0.11733.9347) but I'm not
sure how to verify that the Plugin doesn't need to be upgraded
(about:plugins doesn't give a version number). 

Which browsers and operating systems are affected?

FF3 and IE6 on Win XP are what I've tested.

Please provide any additional information (code snippets/links) below.

Here's an example of the issue: http://www.mooreds.com/geplugin/

If you click on the 'load kml (big)' and then the 'display kml text below
(big)' you'll see the error, whereas if you do both the the little links,
you can see the kml below.  

Original issue reported on code.google.com by moor...@gmail.com on 22 Jun 2009 at 2:47

GoogleCodeExporter commented 8 years ago
Thanks for filing this. To get the plugin version, simply call 
ge.getPluginVersion(),
or visit the Earth API homepage (version number would be right below the plugin
instance) or the Interactive Sampler (version number is at the top).

Original comment by api.roman.public@gmail.com on 22 Jun 2009 at 11:59

GoogleCodeExporter commented 8 years ago
I checked the plugin version via ge.getPluginVersion(), and it is: 
5.0.11737.2027.

Original comment by moor...@gmail.com on 23 Jun 2009 at 4:21

GoogleCodeExporter commented 8 years ago
Thanks! Reported internally, will update this public report when the status 
changes.

Original comment by api.roman.public@gmail.com on 25 Jun 2009 at 6:35

GoogleCodeExporter commented 8 years ago
Bulk edit.

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 1:02

GoogleCodeExporter commented 8 years ago
Any word if this has been revisited? I just spent an hour looking at why my 
script
broke when I found that it didn't - the kml file size just grew large enough 
that I
saw this problem for the first time. I've tried updating my GE plugin, but IT 
policy
has prevented that so far...

Original comment by rpaver...@gmail.com on 3 Nov 2009 at 12:06

GoogleCodeExporter commented 8 years ago
Should be fixed in 5.1.3533.1731

Original comment by api.roman.public@gmail.com on 24 Nov 2009 at 4:21