From 43b6292b4b2810560bbf2d22c96bd44c11d4160b Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Mon, 22 Jul 2024 10:29:06 +0800
Subject: [PATCH] 将文件获取后压缩在服务器
---
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