|
@@ -26,7 +26,7 @@ let cesAspect
|
|
|
|
|
|
|
|
|
|
|
|
-export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot }) => {
|
|
|
+export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOSSRoot }) => {
|
|
|
|
|
|
console.warn('新的页面')
|
|
|
Potree.settings.isOfficial = true //标记为正式、非测试版本
|
|
@@ -61,6 +61,10 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot }) => {
|
|
|
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
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|