Show Preview
Show Cesium Code
Show Google Earth Code
For Google Earth Developers
All Google Earth examples
Additional Resources
Tutorials
Cesium Sandcastle
Reference Documentation
Relevant Cesium Source
Relevant Google Earth Source (
link
)
var tiltCamera = function(count) { var idealTilt = 80; // all angles in the API are in degrees. var c0 = 0.90; var la = ge.getView().copyAsLookAt(ge.ALTITUDE_RELATIVE_TO_GROUND); var tilt = la.getTilt(); tilt = c0 * tilt + (1 - c0) * idealTilt; la.setTilt(tilt); ge.getView().setAbstractView(la); if (count < 60) { setTimeout(function() { tiltCamera(count + 1); }, 33); } } tiltCamera(0);`