camera.flyTo along a great circle

Hi all,

I am drawing “dots” to represent a flight path from London to Tokyo.

The yellow dots represent the path along a great circle. The green dots represent a linear interpolation between the two locations’ latitude and longitude.

Even if it isn’t perfect, the yellow dots are much closer to the route an aircraft would follow than the green ones.

However, when I use camera.flyTo between the two locations, Cesium seems to use a very similar linear interpolation. Hence, the camera follows the green dots.

Is there any simple way to have the camera follow a specific path using flyTo (or another method)?


Sorry, I don’t think there is currently a way to customize the path the camera follows. You’re right, in the code it does appear to interpolate using the longitude and latitude coordinates.

If you wanted to give it a try, you could change the code in CameraFlightPath to use an EllipsoidGeodesic instead.