I have the DEFAULT_VIEW_RECTANGLE set up and working as expected, however I would like to add a pitch to this view.
const rectangle = Cesium.Rectangle.fromDegrees(west, south, east, north);
Cesium.Camera.DEFAULT_VIEW_RECTANGLE = rectangle;
Cesium.Camera.DEFAULT_VIEW_FACTOR = 0;
I can use setView() to control the default view that loads in, however I also want the Home button to go back to this view. Using the pitch below I get the default camera angle I want however clicking the Home button defaults to the DEFAULT_VIEW_RECTANGLE and I can not figure out how to either incorporate a pitch into that OR how to use the setView() as the default home.
destination: Cesium.Cartesian3.fromDegrees(-95, 15, 3500000),
Ultimately open to doing this another way, just want to have a default pitch when the viewer loads, and retain that pitch when you click the Home button.
*Cesium 1.5.0 on Windows, using Chrome. *