| | |
| | | --> |
| | | <template> |
| | | <div class="container" v-wechat-title="title"> |
| | | <clickMap ref="ClickMap" /> |
| | | <clickMap ref="ClickMap" :longitude="longitude" :latitude="latitude" /> |
| | | |
| | | <div class="current-header"> |
| | | <div class="hasOutline"> |
| | |
| | | isShowLandDetails: false, |
| | | isShowFooter: true, |
| | | farmId: null, |
| | | longitude:"", |
| | | latitude:"", |
| | | currentPlot: null |
| | | } |
| | | }, |
| | | created () { |
| | | this.farmId = this.getQueryString('farmId') |
| | | this.longitude = this.getQueryString("longitude") |
| | | this.latitude = this.getQueryString("latitude") |
| | | // 获取有无轮廓地块数量 |
| | | this.getLandIsAreaStatistic() |
| | | // 获取农产品列表 |
| | |
| | | brr.push(it.split(' ')) |
| | | }) |
| | | |
| | | const center = this.getCenter(brr) |
| | | |
| | | // const center = this.getCenter(brr) |
| | | const center = [this.longitude,this.latitude] |
| | | item.positionCenter = center |
| | | |
| | | that.$refs.ClickMap.addPolygon(brr, item) |
| | |
| | | } |
| | | </style>> |
| | | |
| | | d |
| | | d |