This commit is contained in:
parent
86e7eafdf5
commit
cc71e8daf5
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue