From 39a23e8fde4d9b7fc930543ea9e495e419d12017 Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Tue, 30 Jun 2020 11:36:16 +0800
Subject: [PATCH] update 风速变化时重新添加图标显示

---
 src/main/webapp/js/newmoralmap.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/js/newmoralmap.js b/src/main/webapp/js/newmoralmap.js
index 95a4695..704a186 100644
--- a/src/main/webapp/js/newmoralmap.js
+++ b/src/main/webapp/js/newmoralmap.js
@@ -746,6 +746,7 @@
                     if (speedLevel == 0) {
                         moralMap.removeOverlay(this);
                     } else {
+                        moralMap.addOverlay(this);
                         var iconObj = _getWindIcon(speedLevel);
                         this.setIcon(iconObj);
                         this.setRotation(windDir);

--
Gitblit v1.8.0