|
|
@ -154,7 +154,7 @@ export default { |
|
|
|
for(var i in this.detail.detailVos){ |
|
|
|
var marker=new plus.maps.Marker(new plus.maps.Point(this.detail.detailVos[i].lng, this.detail.detailVos[i].lat)) |
|
|
|
marker.setIcon(`/static/patrolGarden/${({0:'unhandle',1:'handle'})[this.detail.detailVos[i].flagDeal]}.png?i=${i}`) |
|
|
|
marker.setLabel(`${this.detail.detailVos[i].lng},${this.detail.detailVos[i].lat}`) |
|
|
|
marker.setLabel(this.detail.detailVos[i].position) |
|
|
|
marker.onclick=e=>{ |
|
|
|
this.record=this.detail.detailVos[e.icon.match(/i=(\d+)/)[1]] |
|
|
|
} |
|
|
|