anselm / aterrain

Exposes a few features of Cesium to AFrame
MIT License
100 stars 17 forks source link

Cesium Access Token #22

Closed RobotGrrl closed 5 years ago

RobotGrrl commented 5 years ago

Hi there,

I'm trying to find where in the code where to change the Cesium access token. I've tried in aframe-aterrain-component.js, but running the duck example still gives a 401 Unauthorized error from Cesium, because it is using the old access token.

Would anyone know the proper place in the code to change the access token?

Thank you, -Erin K

RobotGrrl commented 5 years ago

Oops, found the solution. It's in Build/CesiumUnminified/Cesium.js around line 51052. Changing it to an access token from Cesium seems to work. Great!