| | |
| | | |
| | | this.bgPoint = res.data[0].startControlPoint |
| | | |
| | | const point = JSON.parse(this.bgPoint.geomText) |
| | | |
| | | const p = [point.coordinates[1], point.coordinates[0]] |
| | | |
| | | // const point = JSON.parse(this.bgPoint.geomText) |
| | | // const p = [point.coordinates[1], point.coordinates[0]] |
| | | // this.bgMarker = this.createFlowMarker(p) |
| | | this.bgMarker = pulseEffect(p) |
| | | // this.bgMarker = pulseEffect(p) |
| | | // this.bgMarker.bindTooltip(this.bgPoint.pointnumbe) |
| | | // this.bgMarker.addTo(window.map) |
| | | // window.map.flyTo(p) |
| | |
| | | }, |
| | | bgFmClick (e) { |
| | | // console.log('点击影响的阀门') |
| | | console.log(e) |
| | | // console.log(e) |
| | | // const point = [e.data[0][0], e.data[0][1]] |
| | | const point = [e.startControlPoint.y, e.startControlPoint.x] |
| | | // const marker = this.createFlowMarker(point) |
| | | pulseEffect(point) |
| | | // const marker = this.createFlowMarker(point) |
| | | // marker.addTo(window.map) |
| | | // window.map.flyTo(point, 17) |
| | | }, |