The attached patch allows the navigation mode to be chosen at compile time (if using the compiled version) or run time (if using the uncompiled version).
To select globe navigation in compiled mode, add --compiler_flags=--define=owg.NAVIGATION_MODE=globe when you call closurebuilder.py.
To select globe navigation in uncompiled mode, add
owg.NAVIGATION_MODE = 'globe';
to your JavaScript, after calling goog.require('owg.OpenWebGlobe') but before calling any OpenWebGlobe functions.
The attached patch allows the navigation mode to be chosen at compile time (if using the compiled version) or run time (if using the uncompiled version).
To select globe navigation in compiled mode, add --compiler_flags=--define=owg.NAVIGATION_MODE=globe when you call closurebuilder.py.
To select globe navigation in uncompiled mode, add owg.NAVIGATION_MODE = 'globe'; to your JavaScript, after calling goog.require('owg.OpenWebGlobe') but before calling any OpenWebGlobe functions.