瀏覽代碼

fix: 地图显示不出点云、3dtiles的bug

xzw 1 年之前
父節點
當前提交
92a177e82e
共有 3 個文件被更改,包括 28806 次插入28812 次删除
  1. 28804 28810
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map
  3. 1 1
      src/sdk/cover/index.js

文件差異過大導致無法顯示
+ 28804 - 28810
public/lib/potree/potree.js


文件差異過大導致無法顯示
+ 1 - 1
public/lib/potree/potree.js.map


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

@@ -449,7 +449,7 @@ export const enter = (dom, mapDom, isLocal, lonlat) => {
             map.switchStyle(type/* map.style == 'satellite' ? 'standard' : 'satellite' */) 
         },
         enableMap(mapArea, latlng){ 
-            
+            latlng = [22.36374290, 113.601256215505]
             if(!viewer.mapViewer){  
                 proj4.defs("LOCAL", "+proj=tmerc +ellps=WGS84 +lon_0=" + latlng[1].toPrecision(15) + " +lat_0=" + latlng[0].toPrecision(15)); //高德坐标系
                 proj4.defs("LOCAL_MAP", "+proj=tmerc +ellps=WGS84 +lon_0=" + latlng[1].toPrecision(15) + " +lat_0=" + latlng[0].toPrecision(15)); //地图和本地一样