是在http://support.supermap.com.cn:8090/webgl/examples/webgl/editor.html#measureHandler范例代码中直接替换服务链接测试的,每次空间量算的面积量测的结果都不一致,本地用sp2包试过也不行
服务地址:
var promise = viewer.scene.addS3MTilesLayerByScp('http://58.34.121.26:8090/iserver/services/3D-zhyq/rest/realspace/datas/zhyq/config',{name:'zhyq'});
相机定位:
viewer.scene.camera.setView({
destination: new Cesium.Cartesian3(6378209.282766637, -35056.36718985757, -6872.269319740974),
orientation: {
heading: 1.4059101895600987,
pitch: -0.20917672793046682,
roll: 2.708944180085382e-13
}
});
在桌面加载尝试过量测是没有任何问题的