Commit 8a6f4750 authored by iSergio's avatar iSergio
Browse files

Add properties for enable/disable Globe, SkyBox, SkyAtmosphere

parent c8f30284
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -176,11 +176,15 @@ public class ViewerOptions {
     */
    @JsProperty
    public SkyBox skyBox;
    @JsProperty(name = "skyBox")
    public boolean enableSkyBox;
    /**
     * Blue sky, and the glow around the Earth's limb. Set to false to turn it off.
     */
    @JsProperty
    public SkyAtmosphere skyAtmosphere;
    @JsProperty(name = "skyAtmosphere")
    public boolean enableSkyAtmosphere;
    /**
     * The element or id to be placed into fullscreen mode when the full screen
     * button is pressed. Default: document.body
@@ -241,6 +245,8 @@ public class ViewerOptions {
     */
    @JsProperty
    public Globe globe;
    @JsProperty(name = "globe")
    public boolean enableGlobe;
    /**
     * If true and the configuration supports it, use order independent
     * translucency. Default: true