diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..9768893 Binary files /dev/null and b/dist.zip differ diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index 769305e..c195942 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -443,19 +443,18 @@ const BMAP = () => { // 添加服务圈 var circle; const drawACircle = (v) => { - console.log(data.fwqCoordinates); + console.log("经纬度",data.fwqCoordinates1, data.fwqCoordinates2,data.fwqCoordinates); // forEach; if (!circle) { var point = new BMapGL.Point(data.fwqCoordinates1, data.fwqCoordinates2); circle = new BMapGL.Circle(point, 1000, { strokeColor: "yellow", strokeWeight: 2, - strokeOpacity: 0.8, fillOpacity: 0.1, - // fillColor: "yellow", strokeStyle: "dashed", zIndex: 99, + // fillColor: "yellow", }); map.addOverlay(circle); } @@ -1253,8 +1252,7 @@ const DGcreateCs2 = (polygon, indexx) => { const addggfwq = () => { if (fwqList.value) { data.fwqCoordinates1 = []; - data.fwqCoordinates1 = []; - // console.log(fwqList.value,444); + data.fwqCoordinates2 = []; fwqList.value.map((item, index) => { data.fwqCoordinates1.push(item.point[0]); data.fwqCoordinates2.push(item.point[1]);