Select to view content in your preferred language

ImageryLayerView3D SceneView error on trying to add DEM on top as layer in Map

382
2
11-19-2024 06:38 PM
JohnDMorgan
Occasional Contributor

I am working with the viewshed sample and trying to overlay a layer on top of the SceneView which seems to be working well. I can see my elevation layer, a DEM. However, I keep getting an error. 

"[esri.views.3d.layers.ImageryLayerView3D]" // [object Object]
{
"name": "request:server",
"message": "Unable to load...

I am wonder if this error comes from having a 2D map on top of a 3D map, or if it is a projection issue?

Here is my code

const map = new Map({
basemap: "hybrid",
ground: "world-elevation",
layers: [layer]
});

const view = new SceneView({
container: "viewDiv",
map: map,
camera: {
position: [-81.12586092739858, 29.479210696273626, 5184],
tilt: 0
}
});

Tags (2)
0 Kudos
2 Replies
JohnDMorgan
Occasional Contributor
0 Kudos
GreteSoosalu
Esri Contributor

Hi @JohnDMorgan 

Could you share a bit more of your application (e.g. via a direct message)? It is harder to estimate what could be the reason without knowing the exact type of layer classes and spatial reference settings used in your app. 

 

0 Kudos