Closed AforSmithz closed 2 years ago
This really doesn't pertain to this repo nor integration w/ React. I'd suggest getting the above sample working w/ a "local" resource outside of React (i.e. fork the codepen) - if that is even supported - then you should be able to get it working in React.
If you need more help, try posting in the GeoNET forum for the ArcGIS API for JavaScript.
Closing as we are archiving this repo.
Hello
So I'm trying to import a 3d .glb local file following this tutorial https://developers.arcgis.com/javascript/latest/sample-code/import-gltf/
but for some reason, it won't show up in my SceneView.
But if I use the link given the codepen which is this one https://developers.arcgis.com/javascript/latest/sample-code/import-gltf/live/canoe.glb it does show up
So it does work with links but not with local files (I use the same 3d model as the one in the codepen for the local file) Is this a bug or are there any solution/alternative to mitigate this problem
this is my App.js
and this is my Point.js