shang445751741 / earth-api-samples

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

Can't turn grid on/off in Sky View #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load Earth API in Sky View with grid on
2. Attempt to turn grid off - ge.getOptions().setGridVisibility
(ToggleGrid);  (ToggleGrid is a global boolean)
3. If the view is switched to Earth View, it works.

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

See the description below.  There's a button on the page to toggle the 
grid on/off, but it only works in Earth view.

What version of the plug-in are you using? On what operating system? In 
which browser?  Windopws XP Pro, IE 6

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

Greetings, 

   I have a site at http://gaialab.asu.edu/exoplanets that enables 
both Sky and Earth views.  It also has a "Grid" button to toggle the 
grid on/off.  But it only seems to work in Earth view.  When the site 
finishes loading, it's in Sky View, and pressing the Grid button does 
nothing.  But, press the "Sector 001" button to switch to Earth View, 
and then press the Grid button.  It works there. Roman says he has been 
able to duplicate the bug, and asked me to report it here.

The code I'm using is as follows, where ToggleGrid is a global 
Boolean: 

    //----------------------------------------------------­---------------- 
    // gridVisible - Toggles the grid... 
    //----------------------------------------------------­---------------- 
    function gridVisible () { 
      ToggleGrid = !ToggleGrid; 
      ge.getOptions().setGridVisibility(ToggleGrid); 
    } 

Thanks,

-Steve

Original issue reported on code.google.com by SavageSt...@gmail.com on 7 Sep 2008 at 2:52

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

Original comment by api.roman.public@gmail.com on 2 Apr 2009 at 8:16

GoogleCodeExporter commented 9 years ago
Yes I have exactly the same behavior: fine in Earth view and nothing in Sky 
view. But
your report was for GE Plug-in 4.3. Mine is with version 5, so unfortunately it 
still
isn't corrected.

Original comment by xjubier@gmail.com on 2 Apr 2009 at 8:29

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
Bulk edit.

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

GoogleCodeExporter commented 9 years ago
When will that one be corrected?

Original comment by xjubier@gmail.com on 14 May 2010 at 3:59

GoogleCodeExporter commented 9 years ago
Fixed 5.2.1

Original comment by bcke...@google.com on 14 Oct 2010 at 11:02