Cesium.Ion.defaultServer="http://127.0.0.1:9080/version.json";
version.json这个文件要有
http://cesium.coinidea.com/docs/Cartographic.html?classFilter=Cartographic 这个就是一个对象
new Cesium.Cartographic(longitude, latitude, height)
这样还是有点问题
因为这个对象带height了
而我们要去求
Cesium.SceneTransforms.wgs84ToWindowCoordinates(that.ys.earth.viewer.scene, Cesium.Cartesian3.fromDegrees(xyz.longitude, xyz.latitude, xyz.height));