Skip to content

Commit

Permalink
Merge b98cbf4 into c0e0638
Browse files Browse the repository at this point in the history
  • Loading branch information
Xintong Xia committed Oct 2, 2019
2 parents c0e0638 + b98cbf4 commit b899963
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/cesium/3d-tiles/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,13 @@ fetchTilesetJson({
ionAccessToken: Cesium.Ion.defaultAccessToken
})
.then(({tilesetJson, tilesetUrl, ionMetadata}) => {
const fetchOptions = ionMetadata && {headers: ionMetadata.headers};
const tileset3d = new Tileset3D(tilesetJson, tilesetUrl, {
onTileLoad: tileHeader => {
// eslint-disable-next-line
console.log(tileHeader.uri);
},
fetchOptions,
...ionMetadata,
throttleRequests: true
});
Expand Down

0 comments on commit b899963

Please sign in to comment.