From 2bf33821aba8d94eeda1a517ed9b82674c6d8df2 Mon Sep 17 00:00:00 2001 From: 于紫祥_1901 <email@yuzixiang_1910> Date: Wed, 16 Sep 2020 11:37:59 +0800 Subject: [PATCH] 添加VOCs走航数据显示 --- src/main/webapp/view/cartrajectory.jsp | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/view/cartrajectory.jsp b/src/main/webapp/view/cartrajectory.jsp index 9897869..f70760e 100644 --- a/src/main/webapp/view/cartrajectory.jsp +++ b/src/main/webapp/view/cartrajectory.jsp @@ -331,7 +331,7 @@ map.addOverlay(polyline); var winOpts = { width: 250, // ������������������ - height: 175, // ������������������ + height: 195, // ������������������ } var textArea = "<div style='width: 250px;height: 200px;margin-left: -8px'>"; if (lat==PointArr.lat){ @@ -342,7 +342,11 @@ data=data+"<p style='padding:10px 0 0 18px '>"+"���������"+info["time"]+"</p>"; data=data+"<p style='padding:10px 0 0 18px '>"+"PM2.5���"+info["e1"]+"</p>"; data=data+"<p style='padding:10px 0 0 18px '>"+"PM10���"+info["e2"]+"</p>"; - data=data+"<p style='padding:10px 0 0 18px '>"+"VOCs���������"+info["e40"]+"</p>"; + data=data+"<p style='padding:10px 0 0 18px '>"+"TSP���"+info["e40"]+"</p>"; + if (typeof(info["e17"])==="undefined"){ + }else { + data=data+"<p style='padding:10px 0 0 18px '>"+"VOCs���������"+info["e17"]+"</p>"; + } textArea=textArea+data+"</div>"; } @@ -367,6 +371,7 @@ } + //��������������������������� function addMarkerEnd(point, name, mapInit, trackUnit, prePoint) { if (name == "������������") { -- Gitblit v1.8.0