Thank You John & happy New Year,
You're a saviour, the code is running and layer is getting rendered correctly.
John these layers participate in a map scene. I have a 3d line which is drawn using an offset, the layer is displayed but the problem of rendering persists.
const ET_Line = {
type: "line-3d", // autocasts as new LineSymbol3d()
label: "line-height",
visualVariables: [
{
type: "size",
axis: "height", // tree height
},
{
type: "color",
// Carbon storage
stops: [
{
value: 0,
color: "#000000"
}, // features with zero carbon
{
value: 40,
color: "#000000"
} // features with 800 carbon
],
legendOptions: {
title: "Height in Meter"
}
}
]
};