|
@@ -19,7 +19,7 @@ let cesAspect
|
|
|
|
|
|
|
|
|
|
|
|
-//江门版本
|
|
|
+//江门本地版本
|
|
|
|
|
|
|
|
|
|
|
@@ -71,8 +71,12 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
|
|
|
|
|
|
const mapBus = mitt(), sceneBus = mitt()
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+ let isLocal2 = true
|
|
|
+ if(isLocal2){//本地配置
|
|
|
+ Potree.settings.isLocal = Potree.settings.tileOriginUrl = isLocal2
|
|
|
+ }
|
|
|
|
|
|
|
|
|
Potree.settings.showCompass = true
|
|
@@ -1526,6 +1530,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
tag.functions = {
|
|
|
bus,
|
|
|
changeType(type){
|
|
|
+ console.log('changeType', tag.title, type)
|
|
|
let onMesh = type == '3d'
|
|
|
if(tag.onMesh != onMesh){
|
|
|
tag.changeOnMesh(onMesh)
|