Processing KMLTourFlyTo

Hi all,

I’m using the tour feature of Cesium. I recorded a tour with Google Earth and then I tried to load it in my Cesium viewer. It went fine, but I noted that the pitch was wrong (the camera was always vertical). In my tour, I used several pitches.

When I found the code where the KMLTourFlyTo is processed, I found this code line, inside processLookAt function:

Hi Juan,

You are right, the documentation says pitch should be defined in radians. I’ve gone ahead and opened an issue for this in GitHub. Since you already know the answer, perhaps you could contribute a fix? :grinning:

Thanks!

Gabby

This was fixed and will be included in the 1.40 release available this Friday.

Thanks for reporting and fixing this Juan!

-Hannah