You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser Name and version: Mozilla Firefox 67.0.4 (64 bits)
Operating System and version (desktop or mobile): Ubuntu 18.04.2 LTS (64 bit)
Link to your project:
Difficulties
Hi,
It appears to be difficult to understand how to configure the menuGlobe.
Maybe I'm wrong but I didn't find anything in the iTowns documentation. There is a lot of examples and it is great but it is not easy to understand how to build a menu (to manage opacity and visibility of layers).
We have to use:
As I understand it, GuiTools.js uses a specific version of the dat.gui JS library without the CSS and specific CSS in example.css and we have to also use debug.js to make loops like this:
// example dat.guiconstmyColorLayer=newitowns.ColorLayer(...);constgui=newdat.GUI();view.addLayer(myColorLayer).then(layer=>{gui.add(layer,'opacity',0.0,1.0);});
Thanks for your quick answer.
I will manage to use these tools and keep them simple as you suggest and wait for the future(s) version(s) of these tools.
Do I have to close this issue ?
My Environment
Difficulties
Hi,
It appears to be difficult to understand how to configure the
menuGlobe
.Maybe I'm wrong but I didn't find anything in the iTowns documentation. There is a lot of examples and it is great but it is not easy to understand how to build a menu (to manage opacity and visibility of layers).
We have to use:
GuiTools.js
linkdat.gui.min.js
linkexample.css
linkdebug.js
linkAs I understand it,
GuiTools.js
uses a specific version of thedat.gui
JS library without the CSS and specific CSS inexample.css
and we have to also usedebug.js
to make loops like this:It takes time to understand this. A simple example on how to build a menu with all the necessary sources could be useful I think.
The text was updated successfully, but these errors were encountered: