|
@@ -26,7 +26,7 @@ let cesAspect
|
|
|
|
|
|
|
|
|
|
|
|
-export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOSSRoot }) => {
|
|
|
+export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOSSRoot, panoOSSRoot }) => {
|
|
|
|
|
|
console.warn('新的页面')
|
|
|
Potree.settings.isOfficial = true //标记为正式、非测试版本
|
|
@@ -61,11 +61,13 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
if(laserRoot != void 0){
|
|
|
Potree.settings.urls.prefix = laserRoot
|
|
|
}
|
|
|
- //laserOSSRoot = 'https://192.168.0.25/laser-data'
|
|
|
+
|
|
|
if(laserOSSRoot != void 0){
|
|
|
- Potree.settings.urls.prefix1 /* = Potree.settings.urls.prefix3 */= laserOSSRoot
|
|
|
+ Potree.settings.urls.prefix1 = laserOSSRoot
|
|
|
+ }
|
|
|
+ if(panoOSSRoot != void 0){
|
|
|
+ Potree.settings.urls.prefix3 = panoOSSRoot
|
|
|
}
|
|
|
-
|
|
|
|
|
|
|
|
|
const mapBus = mitt(), sceneBus = mitt()
|