be88ex / earth-api-samples

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

Add method to show and hide water surface #234

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Allow water surface to be hidden and shown programmatically, e.g.

ge.getOptions().setWaterSurfaceVisibility( false );

bool waterVisible = ge.getOptions().getWaterSurfaceVisibility();

Original issue reported on code.google.com by mike%gea...@gtempaccount.com on 27 Apr 2009 at 11:01

GoogleCodeExporter commented 8 years ago
If you turn off the LAYER_TERRAIN layer, the ocean surface returns to its 
pre-5.0 look:

ge.getLayerRoot().enableLayerById(ge.LAYER_TERRAIN, false);

Original comment by api.roman.public@gmail.com on 28 Apr 2009 at 1:03

GoogleCodeExporter commented 8 years ago
If this isn't sufficient, someone please ask and I'll reopen the feature 
request.

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

GoogleCodeExporter commented 8 years ago
The suggested workaround is not sufficent. We need to have altitude values and 
hidden water surface at the same time. Can you please reopen the feature 
request. 

Original comment by john.hau...@gmail.com on 6 May 2011 at 8:41

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The option to hide the ocean surface would be extremely useful for displaying 
underwater data. Please re-open the feature request. 

Original comment by breine...@gmail.com on 23 Apr 2015 at 9:26