File was renamed from src/components/flueGas/flueGas.js |
| | |
| | | import { FlueGas } from '@/api/request' |
| | | import defaultImg from '@components/flueGas/green_airquality_2.png' |
| | | import Setting from '@components/flueGas/green_airquality_3.png' |
| | | import defaultImg from '@assets/images/map-pages/basenav/flugas/green_airquality_2.png' |
| | | import Setting from '@assets/images/map-pages/basenav/flugas/green_airquality_3.png' |
| | | // 图片 |
| | | |
| | | class AddGasHelper { |
| | |
| | | // 点击 事件 |
| | | marker.on('click', (e) => { |
| | | try { |
| | | console.log(e) |
| | | // console.log(e) |
| | | this.EffectOfPulse(e.target.getLatLng()) |
| | | this.FlueGasPopup.setData(data[i]) |
| | | // this.FlueGasPopup.setData(data[i]) |
| | | return this.FlueGasPopup.$el |
| | | } catch (error) { |
| | | console.log(error) |
| | |
| | | // 脉冲效果设置实现 |
| | | EffectOfPulse (position, markers, layerGroup) { |
| | | // // 区分直接执行 和判断执行的不同区别 |
| | | let differentColor = '' |
| | | var differentColor = '' |
| | | if (markers) { |
| | | differentColor = '#ff0000' |
| | | } else { |