您好,
SuperMap iClient3D for Cesium产品默认是圆球,如果您生成缓存时选择S3M版本为3.0,那么默认“椭球”选项被勾选,生成的缓存为椭球数据,在前端需要设置椭球体转换参数,如以下代码所示:
function onload(Cesium) {
var obj = [6378137.0,6378137.0,6356752.3142451793];
Cesium.Ellipsoid.WGS84 = Object.freeze(new Cesium.Ellipsoid(obj[0], obj[1], obj[2]));
var viewer = new Cesium.Viewer( 'cesiumContainer');
var scene = viewer.scene;
var promise = scene.open('http://localhost:8090/iserver/services/XXX/rest/realspace');
}
希望能够帮助到您!