Display Camera Viewer orientation & position widget?

I can’t find a flag widget to display cartographics properties of the camera Viewer (lon lat alt heading pitch roll…).
Do you know a trick or a sample code. Thank you in advance. David.

There’s nothing built into CesiumJS to do this. You can write this yourself by capturing the camera’s position each frame.

TerriaJS is a library built on top of CesiumJS that has this and other widgets you may find useful: https://terria.io/.