How to make the globe rotates at a given rate?

Hello all,

Does anyone know how to make the globe rotates at a given rate towards to different directions?

Thanks in advance,


Any information is appreciated.

在 2014年10月1日星期三UTC-7上午2时21分21秒,Steven写道:

The camera has a rotate function, as well as other functions to programatically control the view. For example:

var viewer = new Cesium.Viewer(‘cesiumContainer’);

var lastNow =;

viewer.clock.onTick.addEventListener(function(clock) {

var now =;

var spinRate = 0.25;

var delta = (now - lastNow) / 1000;

lastNow = now;, -spinRate * delta);


Thanks for the reply, Scott.
It solves my problem.


在 2014年10月3日星期五UTC-7上午7时49分28秒,Scott Hunter写道: