| | |
| | | import { LayerSurroundings } from '../../../../conf/layers/LayerSurroundings' |
| | | // 引入的方法 |
| | | import { pulseEffect } from '../../../../utils/utils' |
| | | // import { locate } from '../../../helpers/LocateHelper' |
| | | // import { fitBounds, highlight, locate, openPropsPopup } from '../../../helpers/LocateHelper' |
| | | import { loadPointWfs, pointZoom } from '../../../helpers/LocateHelper' |
| | | |
| | | export default { |
| | | name: 'ResourcesQuery', |
| | |
| | | this.activeNum = index |
| | | const positionArea = [val.properties.y, val.properties.x] |
| | | window.map.setView(positionArea, 17) |
| | | pointZoom(positionArea, this.form.dataType.icon) |
| | | // 图片 |
| | | loadPointWfs(positionArea) |
| | | // 弹窗 |
| | | pulseEffect(positionArea) |
| | | // const config = this.form.dataType |
| | | // locate(val, config) |
| | | // fitBounds(val, this.form.dataType.code) |
| | | // highlight(val, this.form.dataType) |
| | | } |
| | | } |
| | | } |