From 4bee01ec017f34652f48acad2a11948cb2d4581c Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Fri, 02 Aug 2019 13:10:17 +0800
Subject: [PATCH] 箭头显示异常,删除起点箭头
---
src/main/webapp/view/uavTrajectory.jsp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/view/uavTrajectory.jsp b/src/main/webapp/view/uavTrajectory.jsp
index 932a35d..ff444b3 100644
--- a/src/main/webapp/view/uavTrajectory.jsp
+++ b/src/main/webapp/view/uavTrajectory.jsp
@@ -136,7 +136,9 @@
);
if (i < trackPoints.length - 1) {
map.addOverlay(polyline);// ���������������
- addArrow(polyline, arrowLength, Math.PI / 7);
+ if (i != 0) {
+ addArrow(polyline, arrowLength, Math.PI / 7);
+ }
}
if (coincidentPoints.indexOf(i) > -1) {
//������������������������������������������������������������������
--
Gitblit v1.8.0