I'm new to Cesium and just starting to learn a few things. I have come across two cases so far that I have been unable to figure out related to heading/rotation. I apologize in advance for my noob experience.
1. How can I set the default camera angle for the home location (for when the home button is pressed)?
I have set the default location with the following code, but I would like to set a specific rotation as well.
var extent = Cesium.Rectangle.fromDegrees(west, south, east, north);
Cesium.Camera.DEFAULT_VIEW_RECTANGLE = extent;
Cesium.Camera.DEFAULT_VIEW_FACTOR = 0;
2. Similarly, I have added a single tile layer from an image to cover this rectangle, but this also requires the same rotation. How can I specify a rotation for this layer?