Skip to content

Commit

Permalink
fix(TiledGeometryLayer): set autoRefreshToken to true
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin ETOURNEAU committed Oct 2, 2024
1 parent 8da272e commit c387d24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Layer/OGC3DTilesLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,12 @@ class OGC3DTilesLayer extends GeometryLayer {
this.tilesRenderer.registerPlugin(new CesiumIonAuthPlugin({
apiToken: config.source.accessToken,
assetId: config.source.assetId,
autoRefreshToken: true

Check failure on line 143 in src/Layer/OGC3DTilesLayer.js

View workflow job for this annotation

GitHub Actions / Build bundle, check Linter and generate documentation

Missing trailing comma
}));
} else if (config.source.isOGC3DTilesGoogleSource) {
this.tilesRenderer.registerPlugin(new GoogleCloudAuthPlugin({
apiToken: config.source.key,
autoRefreshToken: true

Check failure on line 148 in src/Layer/OGC3DTilesLayer.js

View workflow job for this annotation

GitHub Actions / Build bundle, check Linter and generate documentation

Missing trailing comma
}));
}
this.tilesRenderer.registerPlugin(new ImplicitTilingPlugin());
Expand Down

0 comments on commit c387d24

Please sign in to comment.