diff --git a/src/Layer/OGC3DTilesLayer.js b/src/Layer/OGC3DTilesLayer.js index 3808054883..1a75f9514a 100644 --- a/src/Layer/OGC3DTilesLayer.js +++ b/src/Layer/OGC3DTilesLayer.js @@ -140,10 +140,12 @@ class OGC3DTilesLayer extends GeometryLayer { this.tilesRenderer.registerPlugin(new CesiumIonAuthPlugin({ apiToken: config.source.accessToken, assetId: config.source.assetId, + autoRefreshToken: true, })); } else if (config.source.isOGC3DTilesGoogleSource) { this.tilesRenderer.registerPlugin(new GoogleCloudAuthPlugin({ apiToken: config.source.key, + autoRefreshToken: true, })); } this.tilesRenderer.registerPlugin(new ImplicitTilingPlugin());