Commit b496f611 by 张杰

修复bug

1 parent 94125b79
...@@ -176,6 +176,8 @@ export default { ...@@ -176,6 +176,8 @@ export default {
/*for(var i = 0, l = this.polygons.length; i < l; i++) { /*for(var i = 0, l = this.polygons.length; i < l; i++) {
this.polygons[i].setMap(null); this.polygons[i].setMap(null);
}*/ }*/
self.lng = e.poi.location.lng
self.lat = e.poi.location.lat
self.autoCenterMarker.show(); self.autoCenterMarker.show();
self.mapObj.add(self.autoCenterMarker); self.mapObj.add(self.autoCenterMarker);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!