This commit is contained in:
parent
29cd57a4a1
commit
387d292fca
|
@ -511,7 +511,7 @@ const addPolygonCounty = () => {
|
||||||
console.log("dbfjdsbfjds", choose.value.person);
|
console.log("dbfjdsbfjds", choose.value.person);
|
||||||
goMapCenter(jdCenter, 13);
|
goMapCenter(jdCenter, 13);
|
||||||
} else {
|
} else {
|
||||||
map.removeEventListener("click",markera);
|
map.removeEventListener("click", markera);
|
||||||
if (currentMarker !== null) {
|
if (currentMarker !== null) {
|
||||||
map.removeOverlay(currentMarker);
|
map.removeOverlay(currentMarker);
|
||||||
}
|
}
|
||||||
|
@ -734,6 +734,8 @@ const addCsUnChoose = () => {
|
||||||
cs_un_choose_arr.value[index].addEventListener("click", () => {
|
cs_un_choose_arr.value[index].addEventListener("click", () => {
|
||||||
cfCs.value = item.name;
|
cfCs.value = item.name;
|
||||||
sfdd.value = true;
|
sfdd.value = true;
|
||||||
|
title_choose.value = title_choose.value.slice(0, -4);
|
||||||
|
title_choose.value = title_choose.value + `>${cfCs.value}`;
|
||||||
cs_dd_arr.value.forEach((item, index) => {
|
cs_dd_arr.value.forEach((item, index) => {
|
||||||
map.removeOverlay(cs_dd_arr.value[index]);
|
map.removeOverlay(cs_dd_arr.value[index]);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue