Access layers of sceneView in WebAppbuilder Settings-Page

04-09-2019 01:29 AM
New Contributor II

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();‍‍‍‍‍‍‍‍

I read 

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 =;
Tags (3)
0 Kudos
0 Replies