I am working on a school thesis project and need to load a .gltf into a web map. I was using this tutorial for three.js on doing that: Add a 3D model | Mapbox GL JS | Mapbox. The code in this tutorial works just fine for me when I run it with my own mapbox token and leave the .GLTF as is, but when I switch it to a .GLTF on my local drive, it won’t show up on the map anymore. How can I fix that?
P.S. I’ve already tried running it on a local server and that did not fix the problem.