Hi all. Thank you for the help before. I successfully display a web scene with a building scene layer from the portal.
Now my next step is to render some icons indicating some spots in the view. I am trying to do it with the following steps:
1. Render the building scene layer and scene view.
2. Use buildingSceneLayer.when, get the fullExtent of building scene layer and trigger the functions below.
3. Map datas into new Graphic() items;
4. Create feature layer sourcing the graphic items, set the fullExtent as the object obtained from step 2 and set elevationInfo mode to be "relative-to-ground".
5. Add the feature layer into scene view by view.layers.add(featureLayer);
Problem I have:
The graphics displays correctly if I don't add the building scene layer. However it doesn't show up if I add back the building scene layer.
Again, I am sorry that I am not able to provide a workable repo due to security issue. Perhaps some sample code could help me out. Thank you for any help.