This commit is contained in:
姚宇浩 2024-08-14 15:10:02 +08:00
parent 65d1df5447
commit 85436382bc
1 changed files with 2 additions and 1 deletions

View File

@ -873,7 +873,7 @@ const initMap = () => {
// //
const csh = () => { const csh = () => {
clear(); clear();
xkzDk.length = 0;
map.removeEventListener("click", markera); map.removeEventListener("click", markera);
if (currentMarker !== null) { if (currentMarker !== null) {
map.removeOverlay(currentMarker); map.removeOverlay(currentMarker);
@ -916,6 +916,7 @@ const clear = () => {
cs_choose_arr.value = []; cs_choose_arr.value = [];
cs_un_choose_arr.value = []; cs_un_choose_arr.value = [];
cs_dd_arr.value = []; cs_dd_arr.value = [];
xkzDk.length = 0;
}; };
// //
const goMapCenter = (point, zoom) => { const goMapCenter = (point, zoom) => {