We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5a9dee commit f6aea90Copy full SHA for f6aea90
1 file changed
src/plugins/three/CesiumIonAuthPlugin.js
@@ -150,7 +150,10 @@ export class CesiumIonAuthPlugin {
150
tiles.rootURL = json.options.url;
151
152
// if the tile set is "external" then assume it's a google API tile set
153
- tiles.registerPlugin( new GoogleCloudAuthPlugin( { apiToken: url.searchParams.get( 'key' ) } ) );
+ tiles.registerPlugin( new GoogleCloudAuthPlugin( {
154
+ apiToken: url.searchParams.get( 'key' ),
155
+ autoRefreshToken: this.autoRefreshToken,
156
+ } ) );
157
158
} else {
159
0 commit comments