我就选了一个顶点
//鼠标点击监听,获取屏幕坐标-弧度制-经纬度
handler.setInputAction(function(click){
var screenX=click.position.x;
var screenY=click.position.y;
// console.log("像素:"+screenX+":"+ screenY)
var cartesianPosition = viewer.camera.pickEllipsoid (new Cesium. Cartesian2 ( screenX,screenY));
var cartographicPosition = Cesium.Ellipsoid.WGS84. cartesianToCartographic (cartesianPosition); //结果是弧度制
var longitudeString = Cesium.Math.toDegrees(cartographicPosition.longitude);
var latitudeString = Cesium.Math.toDegrees(cartographicPosition.latitude);
// console.log(longitudeString)
// console.log(latitudeString);
},Cesium.ScreenSpaceEventType.LEFT_CLICK);