|
@@ -581,6 +581,9 @@ function setCompanyMarker(setCenter: boolean) {
|
|
|
let markerInfoWin = new T.InfoWindow(winHtml, {autoPan: true, maxHeight: 300, maxWidth: 400});
|
|
|
// 添加鼠标经过事件
|
|
|
marker.addEventListener('mouseover', () => {
|
|
|
+ if (searchType.value == 'post') {
|
|
|
+ (map as any).closeInfoWindow();
|
|
|
+ }
|
|
|
marker.openInfoWindow(markerInfoWin);
|
|
|
});
|
|
|
if (searchType.value == 'company') {
|