This commit is contained in:
邹宗楠
2024-07-04 16:33:43 +08:00
parent a4acec45f4
commit 1eed852319

View File

@@ -2,7 +2,6 @@ package cms
import (
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"math"
"reflect"
"regexp"
@@ -727,8 +726,6 @@ func GetCyclingLine(sLng, sLat, uLng, uLat float64) (polyLineList []string, dist
// 高德坐标转换成百度坐标
coords, err = api.BaiDuNaviAPI.BatchCoordinateConvert(coords, baidunavi.CoordSysGaoDe2Baidu)
globals.SugarLogger.Debugf("========coords := %s", utils.Format4Output(coords, false))
globals.SugarLogger.Debugf("========coords :err= %v", err)
if err != nil || len(coords) <= model.NO {
return nil, 0, 0, err
}