|
@@ -1356,12 +1356,15 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes }) => {
|
|
|
changeTitle(title){
|
|
|
tag.setTitle(title)
|
|
|
},
|
|
|
- matChange({scale,rotation}){//大小旋转 贴墙时
|
|
|
+ changeMat({scale,rotation}){//大小旋转 贴墙时
|
|
|
tag.setFaceAngle(rotation)
|
|
|
tag.changeSpotScale(scale)
|
|
|
},
|
|
|
+ changeFontSize(fontSize){
|
|
|
+
|
|
|
+ },
|
|
|
// 更改离地高度
|
|
|
- changeAltitudeAboveGround(height){//线长
|
|
|
+ changeLineHeight(height){//线长
|
|
|
tag.changeLineLen(height)
|
|
|
},
|
|
|
changeCanMove(canMove){
|
|
@@ -1386,7 +1389,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes }) => {
|
|
|
Potree.Utils.updateVisible(tag,'updateVisiFar',v)
|
|
|
}
|
|
|
}, */
|
|
|
- getCameraDisSquared(){
|
|
|
+ getCameraDisSquared(){//距离intersect的位置
|
|
|
return viewer.mainViewport.camera.position.distanceToSquared(tag.position) /* < tag.farSquared */
|
|
|
},
|
|
|
destory(){
|