源码下载地址: https://download.csdn.net/download/GIS_wudi/88764236?spm=1001.2014.3001.5501
1. 采点
移动相机到合适的位置,采集相机的空间点坐标和偏航、俯仰角度值
设置当前轨迹的运动速度
var camera = viewer.camera;
var position = camera.position;
var direction = camera.direction;
var up = camera.up;
var right = camera.right;
// 计算经纬度和高度
var cartographic = Cesium.Ellipsoid.WGS84.cartesianToCartographic(position);
var longitude = Cesium.Math.toDegrees(cartographic.longitude);
var latitude = Cesium.Math.toDegrees(cartographic.latitude);
var altitude = cartogra