From ceaf77720ca99f61a3b69147f8d7b3127bf8c5b7 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Tue, 30 Jul 2024 19:17:32 +0800
Subject: [PATCH] Merge branch 'ht-dev' of http://139.196.74.78:10010/r/drone/drone-java into ht-dev
---
src/main/java/com/dji/sample/wayline/plane/PlaneCourseUtils.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/dji/sample/wayline/plane/PlaneCourseUtils.java b/src/main/java/com/dji/sample/wayline/plane/PlaneCourseUtils.java
index bc780cb..1440128 100644
--- a/src/main/java/com/dji/sample/wayline/plane/PlaneCourseUtils.java
+++ b/src/main/java/com/dji/sample/wayline/plane/PlaneCourseUtils.java
@@ -161,8 +161,8 @@
//最南纬点经纬度
MapLatLng mapLatLngMin = PlaneCourseUtils.minLatPoint(param.getPolygon());
- List<MapLatLng> topLeftPointList = PlaneCourseUtils.createPoint(boundingRectangle.topLeft, intValue, param.getBearing(), mapLatLngMin);
- List<MapLatLng> topRightPointList = PlaneCourseUtils.createPoint(boundingRectangle.topRight, intValue, param.getBearing(), mapLatLngMin);
+ List<MapLatLng> topLeftPointList = PlaneCourseUtils.createPoint(boundingRectangle.topLeft, intValue, param.getBearing() * 2, mapLatLngMin);
+ List<MapLatLng> topRightPointList = PlaneCourseUtils.createPoint(boundingRectangle.topRight, intValue, param.getBearing() * 2, mapLatLngMin);
List<LineString> lineStrings = PlaneCourseUtils.createLine(topLeftPointList, topRightPointList);
--
Gitblit v1.9.3