Browse Source

fix: 没有设置地理位置的点云不使用其经纬度

xzw 6 months ago
parent
commit
82d1048ebe
3 changed files with 12461 additions and 12096 deletions
  1. 12456 12094
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map
  3. 4 1
      src/sdk/cover/index.js

File diff suppressed because it is too large
+ 12456 - 12094
public/lib/potree/potree.js


File diff suppressed because it is too large
+ 1 - 1
public/lib/potree/potree.js.map


+ 4 - 1
src/sdk/cover/index.js

@@ -120,7 +120,10 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
     Potree.settings.modelSkybox = true //是否将全景图贴在模型上(会导致卡顿)。若不显示模型将不显示Reticule
     Potree.settings.tiles3DMaxMemory = 300 //稍微增加点
     Potree.settings.mergeTransCtlOnClick = true
-    Potree.settings.canWalkThroughModel = true
+    Potree.settings.canWalkThroughModel = true 
+    Potree.settings.queryCloudLonLatUrl = '/laser/4dage/{sceneCode}/getDataSetAndControlPoint'
+    
+    
     window.cesErrorWords = '由于GPU占用过大, 将关闭地图,请更换更好的显卡!'
     window.cesErrorCallback = ()=>{
         sdk.setBackdrop('none')