1
This commit is contained in:
@@ -2,7 +2,6 @@ package cms
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
|
||||||
"math"
|
"math"
|
||||||
"reflect"
|
"reflect"
|
||||||
"regexp"
|
"regexp"
|
||||||
@@ -727,8 +726,6 @@ func GetCyclingLine(sLng, sLat, uLng, uLat float64) (polyLineList []string, dist
|
|||||||
|
|
||||||
// 高德坐标转换成百度坐标
|
// 高德坐标转换成百度坐标
|
||||||
coords, err = api.BaiDuNaviAPI.BatchCoordinateConvert(coords, baidunavi.CoordSysGaoDe2Baidu)
|
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 {
|
if err != nil || len(coords) <= model.NO {
|
||||||
return nil, 0, 0, err
|
return nil, 0, 0, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user