Closed yuxiangyu closed 4 years ago
@yuxiangyu
In that case, use Tiles3DLoader
, and the default loader
for deck.gl Tile3DLayer
is Tiles3DLoader
.
Yes, I have used Tiles3DLoader,and the code is just like this: const layer = new Tile3DLayer({ id: 'tile-3d-layer', data:'http://localhost:8080/testdata/NewYork/tileset.json', loader: Tiles3DLoader, loadOptions: { // headers:header, loadGLTF:true, } }) and it report an error in chrome: but in cesium it can be rendered correctly whithout any report
Sorry , the error is :Failed to load resource: the server responded with a status of 404 () webpack-internal:///./node_modules/@loaders.gl/tiles/dist/esm/tileset/tileset-3d.js:506 A 3D tile failed to load: undefined fetch failed 404 <!doctype html>
Can you give some suggest? And another thing is how about the header? sometimes it can appera the crossorigin errorFailed to load resource: the server responded with a status of 404 () :8080/testdata/NewYork/undefined?v=1.0:1 webpack-internal:///./node_modules/@loaders.gl/tiles/dist/esm/tileset/tileset-3d.js:506 A 3D tile failed to load: undefined fetch failed 404 <!doctype html>
we use the tile3dlayer to render 3dtiles on my own web server, but it seems not work.