|
@@ -3,7 +3,7 @@ import mitt from 'mitt'
|
|
import axios from 'axios' //{ axios } from '@/api'
|
|
import axios from 'axios' //{ axios } from '@/api'
|
|
|
|
|
|
/*
|
|
/*
|
|
-
|
|
|
|
|
|
+在线版
|
|
https://xj-mix3d.4dkankan.com/fire/#/home 新疆消防救援总队火灾现场勘验重建平台
|
|
https://xj-mix3d.4dkankan.com/fire/#/home 新疆消防救援总队火灾现场勘验重建平台
|
|
|
|
|
|
*/
|
|
*/
|
|
@@ -17,14 +17,13 @@ export const enter = (dom, mapDom, isLocal, lonlat) => {
|
|
Potree.settings.libsUrl = './lib/'
|
|
Potree.settings.libsUrl = './lib/'
|
|
|
|
|
|
|
|
|
|
- //正式环境(本地调试会打不开)
|
|
|
|
- if(location.host === 'mix3d.4dkankan.com' ){
|
|
|
|
- Potree.settings.urls.prefix = Potree.settings.urls.prefix6
|
|
|
|
- Potree.settings.webSite = 'datav1'
|
|
|
|
- }else if(location.host === 'xfhd.4dkankan.com'){
|
|
|
|
- Potree.settings.urls.prefix = Potree.settings.urls.prefix7
|
|
|
|
- Potree.settings.webSite = 'datav1'
|
|
|
|
|
|
+ {//改为本地版
|
|
|
|
+ for(let i in Potree.settings.urls) Potree.settings.urls[i] = ''
|
|
|
|
+ Potree.settings.urls.prefix = ''
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
const mapBus = mitt(), sceneBus = mitt()
|
|
const mapBus = mitt(), sceneBus = mitt()
|
|
|
|
|
|
|
|
|