Thanks Matt, glad to hear it's in the works.
It seems like every new feature I try to use each day doesn't work. :\
Since the viewFrom property isn't working, I tried to alternatively use zoomTo in the interim. While zoomTo went to the correct position of the entity and the correct pitch and range, it did not rotate to the specified heading. Instead, it rotated to a heading of 0 no matter what I provided.
viewer.zoomTo(entity, new Cesium.HeadingPitchRange(heading, Cesium.Math.toRadians(-90), 1000.0));
I even tried explicitly setting the heading again immediately after zoomTo, but again it did not change the heading.
viewer.camera.setView({
heading: Cesium.Math.toRadians(90)
});
If I remove the zoomTo line, the setView does rotate to 90 degrees correctly. It seems like the zoomTo function is permanently breaking the heading for some reason.
What am I doing wrong?