Hi,
KmlLookAt.getHeading() has data problems while zooming out when you are tilted.
To reproduce:
1) Zoom into the Globe and tilt so that you are almost looking at the horizon.
2) Now start to zoom out directly from this position.
getHeading() will remain fairly constant until you reach some point where it will flip around and be almost 90deg off of where it should be.
Sample code:
google.earth.addEventListener(ge.getView(), 'viewchange', onViewChange);
function onViewChange() {
console.log('heading ' + ge.getView().copyAsLookAt(ge.ALTITUDE_RELATIVE_TO_SEA_FLOOR).getHeading());
}