|
@@ -16,7 +16,18 @@ const ModelTypes = {
|
|
}
|
|
}
|
|
let cesAspect
|
|
let cesAspect
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+//江门版本
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot }) => {
|
|
export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot }) => {
|
|
|
|
+
|
|
console.warn('新的页面')
|
|
console.warn('新的页面')
|
|
Potree.settings.isOfficial = true //标记为正式、非测试版本
|
|
Potree.settings.isOfficial = true //标记为正式、非测试版本
|
|
//Potree.fileServer = axios
|
|
//Potree.fileServer = axios
|
|
@@ -47,6 +58,14 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot }) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ console.log(laserRoot)
|
|
|
|
+ if(laserRoot){
|
|
|
|
+ Potree.loadDatasets = function(){
|
|
|
|
+ return laserRoot
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
const mapBus = mitt(), sceneBus = mitt()
|
|
const mapBus = mitt(), sceneBus = mitt()
|
|
|
|
|
|
|
|
|