使用产品:SuperMap_iClient3D_10i(2020)_for_WebGL_26304
数据类型:文件型
问题详细描述:
如何获取选中对象的geometry,选择事件中只有feature基本属性,没有geometry
问题重现步骤:
//注册鼠标点击事件
// 需要layer setQueryParameter 此事件才能激活
this.viewer.pickEvent.addEventListener((feature) => {
console.log('feature is ', feature)
this.selFea = feature;
if (this.selFea.hasOwnProperty('EXP_NO')) {
this.selFeaType = 2;
let no = Cesium.defaultValue(feature.EXP_NO, '');
this.infoBoxTitle = "管井信息 - " + Cesium.defaultValue(no, '');
} else if (this.selFea.hasOwnProperty('管道编号')) {
console.log('features is ', features)
}, (err) =>{
console.log('sql query err is ', err)
})
}
});