xzw 1 年之前
父节点
当前提交
a36c8228e2
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. 1 1
      src/custom/settings.js
  2. 4 1
      src/custom/viewer/map/Map.js

+ 1 - 1
src/custom/settings.js

@@ -83,7 +83,7 @@ const config = {//配置参数   不可修改
          */
         
         flyTime:650,
-        maxDistanceThreshold:10,
+        maxDistanceThreshold:14,
         maxDistanceThresholdFlyIn:5,
     }
     

+ 4 - 1
src/custom/viewer/map/Map.js

@@ -27,7 +27,7 @@ let tempVector = new THREE.Vector3,  //sharedata
     uv11 = new THREE.Vector2(1,1),
     face1UV = [uv00, uv10, uv11],
     face2UV = [uv11, uv01, uv00]
-
+ 
 
 
 const HALF_WORLD_SIZE = 21e6 //略大于半个周长(mapSizeM/2)
@@ -956,5 +956,8 @@ export class TiledMapFromEntity extends TiledMapBase{
  viewer.mapViewer.mapLayer.maps[0].objectGroup.children
  
  
+ 目前看的几个场景floorplan原图是1米=33.03个像素  图宽度= 512*2^(max_depth-1) ,   map_size_m 代表整个地图是多少米
+ 
+
  
  */