Open bingomanatee opened 1 year ago
Also - strange error during animation (i.e., when features data is updated)
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'color')
Call Stack
updateObj
node_modules/three-globe/dist/three-globe.module.js (1772:0)
eval
node_modules/data-joint/dist/data-joint.module.js (295:0)
Array.forEach
<anonymous>
updateObjs
node_modules/data-joint/dist/data-joint.module.js (290:0)
viewDigest
node_modules/data-joint/dist/data-joint.module.js (271:0)
threeDigest
node_modules/three-globe/dist/three-globe.module.js (654:18)
@bingomanatee thanks for reaching out.
Do you have a simple example that reproduces the issue? Something without React or any other wrappers, on codepen would be useful, so we can have a look.
The repo can be checked out - it points to an absolute API/server for its data. I can't really divorce it from the react context easily.
Describe the bug Labels appear rotated on globe surface. Its like the labels' frame of reference is axially roteated with a pole somewhere near south Africa
To Reproduce
Set up the globe in react fiber:
Globe itself is fairly standard poly/country globe:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
com/684016/189007187-319139b2-4e94-4ec5-be00-ce8bf9594a68.png">
source repo: https://github.com/bingomanatee/covid-client-2022 (labels branch)
working demo without labels: https://covid-client-2022.vercel.app/