|
|
@ -238,6 +238,7 @@ export class MarkerCluster { |
|
|
|
|
|
|
|
const reset = () => { |
|
|
|
if (!window.openInfoWindow) { |
|
|
|
// console.log(window.openInfoWindow, "rest");
|
|
|
|
this.infoWindow?.close?.(); |
|
|
|
} |
|
|
|
}; |
|
|
@ -248,7 +249,7 @@ export class MarkerCluster { |
|
|
|
if (window.openInfoWindow) { |
|
|
|
console.log("窗口位移结束"); |
|
|
|
window.openInfoWindow = false; |
|
|
|
await new Promise((resolve) => setTimeout(resolve, 340)); |
|
|
|
await new Promise((resolve) => setTimeout(resolve, 840)); |
|
|
|
window.infoWindow?.open?.(); |
|
|
|
} |
|
|
|
}); |
|
|
|