1
This commit is contained in:
@@ -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)
|
polyLineList, err = baiDuCoord2Gaode(polyLine)
|
||||||
globals.SugarLogger.Debugf("========polyLineList := %s", utils.Format4Output(coords, false))
|
if err != nil {
|
||||||
globals.SugarLogger.Debugf("========polyLineList :err= %v", err)
|
polyLineList = polyLine
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user