@@ -2193,7 +2193,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
info.points_datasets = props.points.map(e=> e.modelId == Id_noIntersect ? null : e.modelId)
info.dataset_points = info.points = props.points.map(e=>e.position)//当该点不在任何模型上时,记录的是世界坐标,所以两个都赋值,过后根据有无datasetID选择
}else{ //设备拍摄
- props.points = props.points.map(e=>{
+ info.points = props.points = props.points.map(e=>{
let p = viewer.transform.lonlatToLocal.forward(e)
return new THREE.Vector3().copy(p)
})