We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3923e90 commit 513a071Copy full SHA for 513a071
1 file changed
example/three/ionExample.js
@@ -68,7 +68,7 @@ function reinstantiateTiles() {
68
localStorage.setItem( 'ionApiKey', params.ionAccessToken );
69
70
tiles = new TilesRenderer();
71
- tiles.registerPlugin( new CesiumIonAuthPlugin( { apiToken: params.ionAccessToken, assetId: params.ionAssetId } ) );
+ tiles.registerPlugin( new CesiumIonAuthPlugin( { apiToken: params.ionAccessToken, assetId: params.ionAssetId, autoRefreshToken: true, } ) );
72
tiles.addEventListener( 'load-root-tileset', () => {
73
74
// because ion examples typically are positioned on the planet surface we can orient
0 commit comments