src/utils/map/line.js
@@ -20,6 +20,11 @@ }); } function drawDirection(path) { const polyline = newPolyline(path, '#02ffea'); map.add(polyline) } export default { drawLine(fDatas, factor) { if (defaultPolylineArr.length > 0) { @@ -105,5 +110,7 @@ map.remove(v); }); } } }, drawDirection };