hello.
I defining a new graphicslayer which has listmode property value as "hide". And this graphicslayer doesn't show in layerlistwidget (this is what i want)
var myg = new graphicsLayer({
listMode: "hide";
})
mymap.add(myg);
new sketchView
var s = new SketchViewModel({
view: mySceneView,
layer: myg,
});
when i run this code an Untitled Layer is being visible on layerlist.
This layer is not myg. Another new layer.