This commit is contained in:
suyl
2021-05-11 15:42:06 +08:00
parent d2de04d1ac
commit 5c6f604d7d
3 changed files with 71 additions and 5 deletions

View File

@@ -14,3 +14,11 @@ func TestGetCoordinateFromAddressByPage(t *testing.T) {
t.Log(utils.Format4Output(lng, false))
t.Log(utils.Format4Output(lat, false))
}
func TestGetCoordinateFromAddressByPageAll(t *testing.T) {
result, err := autonaviAPI.GetCoordinateFromAddressByPageAll("兴月宏干杂", 510100)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}