feat:新增火焰弹窗
parent
730cbd1858
commit
7f3ba6f65e
|
@ -17,9 +17,9 @@ export const treeData = [
|
||||||
title: '顶层沸溢火',
|
title: '顶层沸溢火',
|
||||||
point: 1,
|
point: 1,
|
||||||
position: [
|
position: [
|
||||||
11660771.84,
|
11660785.92,
|
||||||
3692443.52,
|
3692445.44,
|
||||||
47.9283447265625
|
23.0313525390625
|
||||||
],
|
],
|
||||||
img:img1,
|
img:img1,
|
||||||
content: '模拟在密闭建筑物内发生火灾,消防员在高温、浓烟、高噪音的情况下进行火情侦察,寻找被困人员,救出被困人员,灭火抢险等战斗',
|
content: '模拟在密闭建筑物内发生火灾,消防员在高温、浓烟、高噪音的情况下进行火情侦察,寻找被困人员,救出被困人员,灭火抢险等战斗',
|
||||||
|
|
|
@ -107,6 +107,7 @@
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
background: #000;
|
background: #000;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.content{
|
.content{
|
||||||
|
|
|
@ -138,6 +138,7 @@ export default class BaseComponent extends Vue {
|
||||||
if(layer.selected){
|
if(layer.selected){
|
||||||
if(layer.showPop){
|
if(layer.showPop){
|
||||||
this.player.api.marker.showPopupWindow(layer.ids)
|
this.player.api.marker.showPopupWindow(layer.ids)
|
||||||
|
this.player.api.marker.focus(layer.ids,50,2)
|
||||||
}
|
}
|
||||||
this.player.api.marker.show(layer.ids)
|
this.player.api.marker.show(layer.ids)
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -70,7 +70,9 @@ export default class OverViewComponent extends BaseComponent {
|
||||||
this.player.api.polyline.clear();
|
this.player.api.polyline.clear();
|
||||||
this.player.api.heatmap.clear();
|
this.player.api.heatmap.clear();
|
||||||
this.currentLayers = this.getCurrentLayers();
|
this.currentLayers = this.getCurrentLayers();
|
||||||
this.player.api.cameraTour.add(this.tourPathData)
|
this.player.api.cameraTour.add(this.tourPathData,(res)=>{
|
||||||
|
console.log(res)
|
||||||
|
})
|
||||||
// this.tourPathData.forEach((item)=>{
|
// this.tourPathData.forEach((item)=>{
|
||||||
// })
|
// })
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue