Stop a billboard from roating with camera

Hello,

I've created a billboard through CZML with a specific rotation. It acts as a label that's displayed parallel to the path, centered at a midpoint between the path start and end. The problem is that when I rotate the camera, the billboard rotates along with it.

Is there any way to keep the billboard at the initial rotation?

I'll post relevant code if needed.

Hello,

You can use the alignedAxis property for a billboard to keep it oriented with the globe. Here is an example:

var viewer = new Cesium.Viewer(‘cesiumContainer’);

viewer.entities.add({
position : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883),
billboard :{
image : ‘…/images/Cesium_Logo_overlay.png’,
alignedAxis: Cesium.Cartesian3.UNIT_Z
}
});

``

Best,

Hannah