viewer.addClickEvent((cart3, pickObj, movement) => {
if (pickObj && pickObj.primitive) {
viewer.lastTilesLayer = pickObj;
}
let result = viewer.cartesian3ToDegrees(cart3);
viewer.pickPosition = [result.lng, result.lat, result.height];
});
viewer.pickEvent.addEventListener((feature) => {。。。。。。。
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
如上代码是监听屏幕点击事件的。我如何通过代码触发屏幕点击事件?