From 99be81fe129074a2323d7afa4f9012deab84fb8b Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Tue, 25 Aug 2020 11:52:41 +0800
Subject: [PATCH] aqi小时数据

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

diff --git a/src/main/webapp/js/newmoralmap.js b/src/main/webapp/js/newmoralmap.js
index 7966162..3de9fe4 100644
--- a/src/main/webapp/js/newmoralmap.js
+++ b/src/main/webapp/js/newmoralmap.js
@@ -1118,6 +1118,19 @@
                         if (longitude < bounds.northeastLng && longitude > bounds.southwestLng && latitude < bounds.northeastLat && latitude > bounds.southwestLat) {
                             markers.push(oldmarker);
                         }
+                        if("���������"===option["monitorPoint"]["description"]){
+                            var icon05 = new BMap.Icon("/img/ico05.png", new BMap.Size(50, 50));
+                            var mark05 = new BMap.Marker(new BMap.Point(option["monitorPoint"]["longitude"], option["monitorPoint"]["latitude"]), {icon: icon05});
+                            markers.push(mark05);
+                        }else if("���������"===option["monitorPoint"]["description"]){
+                            var icon06 = new BMap.Icon("/img/ico06.png", new BMap.Size(50, 50));
+                            var mark06 = new BMap.Marker(new BMap.Point(option["monitorPoint"]["longitude"], option["monitorPoint"]["latitude"]), {icon: icon06});
+                            markers.push(mark06);
+                        }else if("���������"===option["monitorPoint"]["description"]){
+                            var icon08 = new BMap.Icon("/img/ico08.png", new BMap.Size(50, 50));
+                            var mark08 = new BMap.Marker(new BMap.Point(option["monitorPoint"]["longitude"], option["monitorPoint"]["latitude"]), {icon: icon08});
+                            markers.push(mark08);
+                        }
                     }
                 }
             }

--
Gitblit v1.8.0