|
@@ -1273,7 +1273,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes }) => {
|
|
|
|
|
|
|
|
|
path.dispatchEvent('markerSelect',(e)=>{
|
|
|
- bus.emit('activePoint', index: e.cancel ? -1 : e.marker )
|
|
|
+ bus.emit('activePoint', e.cancel ? -1 : e.marker )
|
|
|
})
|
|
|
|
|
|
|
|
@@ -1291,10 +1291,10 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes }) => {
|
|
|
//Potree.Utils.updateVisible(path,'user', v)
|
|
|
},
|
|
|
visibilityName(v){
|
|
|
- path.setTitleVisi(v, 'user')
|
|
|
+ path.setTitleVisi(path.titleLabel.parent, v, 'user')
|
|
|
},
|
|
|
changeName(name){
|
|
|
- path.settitle(name)
|
|
|
+ path.setTitle(name)
|
|
|
},
|
|
|
changePointName(index,name){
|
|
|
path.setMarkerTitle(index,name)
|