aix
2024-07-20 836fa006b1db985671c16d0aea232f8438bc20e6
新建面状航线
1 files modified
4 ■■■■ changed files
src/main/java/com/dji/sample/wayline/plane/PlaneCourseUtils.java 4 ●●●● patch | view | raw | blame | history
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);