Explorar el Código

fix: map limitbound

xzw hace 1 año
padre
commit
49b615350f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/sdk/cover/index.js

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

@@ -457,6 +457,7 @@ export const enter = (dom, mapDom, isLocal, lonlat) => {
                 //--------------------------------
                 viewer.mapViewer = new Potree.MapViewer(mapArea)
                 viewer.mapViewer.initProjection() 
+                viewer.mapViewer.setViewLimit('standard')
                 //focus
                 let boundSize = new THREE.Vector3(200,150,1).max(viewer.bound.boundSize)