| | |
| | | console.log(res) |
| | | const data = res.Result.DataInfo || {} |
| | | for (let i = 0; i < data.length; i++) { |
| | | console.log(data[i]) |
| | | // 经纬度 位置 |
| | | const positionX = data[i].Latitude |
| | | const positionY = data[i].Longitude |
| | |
| | | return '企业' |
| | | } |
| | | |
| | | this.clickListener = (layer) => { |
| | | /* this.animalService.pulseEffect(e.latlng) |
| | | this.clickListener = (e) => { |
| | | this.animalService.pulseEffect(e.latlng) |
| | | console.log(e) |
| | | return this.PublicBounced.$el |
| | | */ |
| | | console.log(layer) |
| | | } |
| | | |
| | | // 固废点击进行的 内容的设置 |
| | | // SetSolidWasteContent (config, containerPopup) { |
| | | // this.SolidWastePopup = containerPopup |
| | | // } |
| | | } |
| | |
| | | wasteGasJcd: 'WasteGas.js', |
| | | wasteWaterJcd: 'WasteWater.js', |
| | | solidWasteJcd: 'SolidWaste.js', |
| | | fsqy: 'Company.js' |
| | | sewersAreaGs: 'Company.js' |
| | | } |
| | | |
| | | export const props = { |
| | |
| | | name: '公司', |
| | | sname: '公司', // 表名 |
| | | checked: true, // 默认选中状态 |
| | | wfs: WFS_URL + '?TYPENAME=公司', |
| | | url: WFS_URL + '?TYPENAME=公司', |
| | | minZoom: 10, // 在指定级别显示 |
| | | childLayer: 'fsss,hbss' // 关联PointLayers |
| | | }, |