| | |
| | | // 请求数据 |
| | | import { requestWasteWater } from '@/api/request' |
| | | // 展示图片 |
| | | import defaultImg from '@assets/images/map-pages/basenav/Waste-water/fs_green.png' |
| | | import Setting from '@assets/images/map-pages/basenav/Waste-water/fs_yellow.png' |
| | | // import defaultImg from '@assets/images/map-pages/basenav/Waste-water/fs_green.png' |
| | | // import Setting from '@assets/images/map-pages/basenav/Waste-water/fs_yellow.png' |
| | | |
| | | // 底图业务展示点 |
| | | class AddWasteWaterHelper { |
| | |
| | | DrawWasteWaterContent (data) { |
| | | // 图标样式扩展 |
| | | const WasteWaterIcon = this.WasteWaterIcon() |
| | | |
| | | // //加载数据前如果存在图层组 那么清除掉 |
| | | if (this.WasteWaterLayerGroup) { |
| | | this.WasteWaterLayerGroup.clearLayers() |
| | |
| | | WasteWaterIconUrl (determineValueOne, determineValueTwo, position) { |
| | | let EffectOfChange |
| | | if (determineValueOne === 1 || determineValueTwo === 1) { |
| | | EffectOfChange = defaultImg |
| | | // EffectOfChange = defaultImg |
| | | this.EffectOfPulse(position, this.WasteWaterMarkersLabels, this.WasteWaterLayerGroup) |
| | | } else { |
| | | EffectOfChange = Setting |
| | | // EffectOfChange = Setting |
| | | } |
| | | return EffectOfChange |
| | | } |