xzw 8 tháng trước cách đây
mục cha
commit
77a1bb86bd
1 tập tin đã thay đổi với 6 bổ sung3 xóa
  1. 6 3
      src/sdk/cover/index.js

+ 6 - 3
src/sdk/cover/index.js

@@ -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(){