src/components/map/main.vue
@@ -282,10 +282,10 @@ ol2d.addLayer(this.peopleLineAddlayer); ol2d.addLayer(this.beginsPoint); // this.addLines() let that = this; that.addNewLine(); return; let that = this; that.beginsPoint.getSource().clear(); let iconFeature = new OlFeature({ geometry: new OlGeomPoint([114.03928791, 27.62954732]), //绘制图形(点)