Select to view content in your preferred language

Cannot destructure property 'features' of '(intermediate value)

2001
2
08-13-2023 11:27 PM
UbaidGul6402
New Contributor

Hi,

I am using ArcGIS JS API 4.27. When I switch from MapView to SceneView I am getting this error "Cannot destructure property 'features' of '(intermediate value)' as it is null." in the console along with "this [esri.views.3d.layers.support.FeatureTileFetcher3D] #fetchTile()" Logger.js:5. Any solution to this error please.

0 Kudos
2 Replies
ReneRubalcava
Frequent Contributor II

Do you have a github repro, codepen, or stackblitz showing this issue? Can't replicate with the 2D to 3D sample. https://developers.arcgis.com/javascript/latest/sample-code/views-switch-2d-3d/

UbaidGul6402
New Contributor

I created a pen here https://codepen.io/Ubaid-Gul/pen/QWzLgyL but I am not able to reproduce the error. May be something is wrong with my feature service I guess which I am adding in my code. I can not add all my code in the code pen. Thanks for you quick response.

0 Kudos