Skip to content

Commit

Permalink
Improve ion
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Sep 27, 2022
1 parent b618454 commit c7a3b8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/ionExample.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<body>
<div id="info">
<div>
Paste the evaluation Cesium Ion token from the <a target="_blank" href="https://github.com/CesiumGS/cesium/blob/master/Source/Core/Ion.js#L6-L13">Cesium repository</a> or your own token and asset id <br/> into the fields and press "reload" to see the demo. See <a href="http://cesium.com">cesium.com</a> for more information.
Paste the evaluation Cesium Ion token from the <a target="_blank" href="https://github.com/CesiumGS/cesium/blob/main/Source/Core/Ion.js#L6-L13">Cesium repository</a> or your own token and asset id <br/> into the fields and press "reload" to see the demo. See <a href="http://cesium.com">cesium.com</a> for more information.
<br/>
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion example/ionExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const params = {
'orthographic': false,

'ionAssetId': '40866',
'ionAccessToken': '',
'ionAccessToken': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJjYjNlMTg5Zi1hMzc2LTRmZjktOGEwZC00NGEzNTM0MTAzZGUiLCJpZCI6MjU5LCJpYXQiOjE1MTgxOTE2NTV9.qaP8-_Ej6AihGnv5iB990Hm6lHr8F_rrC3_EPxdT6MQ',
'errorTarget': 6,
'errorThreshold': 60,
'maxDepth': 15,
Expand Down Expand Up @@ -131,6 +131,7 @@ function reinstantiateTiles() {

offsetParent.remove( tiles.group );
tiles.dispose();
tiles = null;

}

Expand Down

0 comments on commit c7a3b8f

Please sign in to comment.