I want to animate model from location to another. I have lat lon for both locations. I know how how move model on lat lon with timer. But If I have lat lon for home and destination, and I want to move model in a straight line from home to destination, with some speed, how would I do that? Do I still need to find all lat lon between 2 locations? Or can be done some other way?
You can use a SampledPositionProperty for the model’s position. Then add the home and destination positions with addSample(), where the time of the destination will depend on the distance and the desired speed (time of home would be ‘now’). The default interpolation is linear, so you should get a straight line between home and destination.
See also the interpolation example in http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Interpolation.html&label=Tutorials