This commit is contained in:
邹宗楠
2024-07-31 15:53:13 +08:00
parent e27ea9f69a
commit 757573973f
2 changed files with 2 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ func (a *API) TencentCyclingPlanning(param *TencentCyclingPlanningReq) (distance
point2, _ := v.Polyline[i].Float64()
point3 := point1 + point2/float64(1000000)
point4 := fmt.Sprintf("%.13f", point3)
point4 := fmt.Sprintf("%.6f", point3)
pointList = append(pointList, point4)
}