回撤-解决集结地点位经度越过180°时计算错误的问题

This commit is contained in:
zh
2025-08-15 17:18:17 +08:00
parent 04ccdc73ca
commit 23420762ca

View File

@ -124,9 +124,6 @@ class DrawAssemble extends Draw {
if (this.points_ids.length === 1) {
let pnts = new Array();
this.positions.forEach((item) => {
if(item.lng<-90) {
item.lng += 360
}
pnts.push([item.lng, item.lat]);
});