| | |
| | | |
| | | this.clickListener = async (e) => { |
| | | this.animalService.pulseEffect(e.latlng) |
| | | // this.setPanTo(e.latlng, 200) |
| | | console.log(e) |
| | | const dataValue = { |
| | | StoragePlaceId: e.layer.options.test.StoragePlaceId |
| | | } |
| | |
| | | // console.log(result) |
| | | const PublicBounced = window.Vue.extend(publicBounced) |
| | | const instance = new PublicBounced() |
| | | instance.setData(result, 'gufei') |
| | | instance.$mount() |
| | | document.body.appendChild(instance.$el) |
| | | instance.setData(result, 'gufei') |
| | | } |
| | | |
| | | // panTo |
| | | // this.setPanTo = (pos, value) => { |
| | | // var position = pos |
| | | // position = this.map.latLngToLayerPoint(position) |
| | | // position.y += value |
| | | // position = this.map.layerPointToLatLng(position) |
| | | // this.map.flyTo(position) |
| | | // } |
| | | |
| | | // 不同类型图片封装 |
| | | this.differentTypes = (judgeValue) => { |
| | | var effectOfChange |