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 authored and jailln committed Oct 3, 2024
1 parent ec665c3 commit ebf37dd
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,
}));
} else if (config.source.isOGC3DTilesGoogleSource) {
this.tilesRenderer.registerPlugin(new GoogleCloudAuthPlugin({
apiToken: config.source.key,
autoRefreshToken: true,
}));
}
this.tilesRenderer.registerPlugin(new ImplicitTilingPlugin());
Expand Down

0 comments on commit ebf37dd

Please sign in to comment.