This commit is contained in:
邹宗楠
2024-07-04 16:29:29 +08:00
parent 7715edcd1e
commit a4acec45f4

View File

@@ -754,10 +754,10 @@ func GetCyclingLine(sLng, sLat, uLng, uLat float64) (polyLineList []string, dist
}
}
globals.SugarLogger.Debugf("========polyLine := %s", utils.Format4Output(polyLine, false))
polyLineList, err = baiDuCoord2Gaode(polyLine)
globals.SugarLogger.Debugf("========polyLineList := %s", utils.Format4Output(coords, false))
globals.SugarLogger.Debugf("========polyLineList :err= %v", err)
if err != nil {
polyLineList = polyLine
}
return
}