Kazu46Machi / earth-api-samples

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

Networklinks doesn't update until mouse move over the plugin window #147

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. go to
http://earth-api-samples.googlecode.com/svn/trunk/demos/interactive/index.html
2. click the link 'Create Networklink', 
3. remove 'networkLink.setFlyToView(true);'  from the code, 
4. hit 'run code'. 

What is the expected output or behavior? What do you see instead?
The networklinked kml file, a placemark at coordinates 0,0 , should display
automatically without requiring a fly-to-view.  

Instead, it doesn't display until either the camera moves, or the mouse is
run over the plugin.

Which plugin version are you using?
4.3.11528.8566

Which browsers and operating systems are affected?

Please provide any additional information (code snippets/links) below.
Issue first reported in this thread:
http://groups.google.co.uk/group/google-earth-browser-plugin/browse_thread/threa
d/cc475157f6d9cec8?hl=en

A workaround is to force a refresh of the camera immediately after the
networklink is appended.  e.g.

 var camera = ge.getView().copyAsCamera(ge.ALTITUDE_RELATIVE_TO_GROUND); 
 ge.getView().setAbstractView(camera); 

Original issue reported on code.google.com by barn...@googlemail.com on 24 Jan 2009 at 6:17

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 26 Jan 2009 at 6:14

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 22 May 2009 at 1:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 22 May 2009 at 1:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Issue 239 has been merged into this issue.

Original comment by api.roman.public@gmail.com on 22 May 2009 at 1:58

GoogleCodeExporter commented 8 years ago

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

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

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

GoogleCodeExporter commented 8 years ago
Fixed as of 5.1.3506.3999 (API v1.003); see announcement here:

http://groups.google.com/group/google-earth-api-notify/browse_thread/thread/6a32
fdfcc60236e

If this issue is still not fixed, please let us know.

Original comment by api.roman.public@gmail.com on 9 Sep 2009 at 10:17