I got a 2D widget build in WebappBuilder
In the Settings.js I got the ability to configure some stuff for each layer of the map.
The code to access the layers (array) is:
var layerStructure = LayerStructure.getInstance();
var layerNodes = layerStructure.getLayerNodes();
It says. The Settings.js uses the 3.x and the Widget the 4.x API.
No I want to access get the layernodes (?) of a 3D map (sceneView) in the Settings.js
How do I achieve this?
Edit: I can get the layerNodes by
var layerNodes = this.sceneView.map.layers;