- up
This commit is contained in:
@@ -83,3 +83,8 @@ func TestGetDistricts(t *testing.T) {
|
||||
}
|
||||
t.Log(utils.Format4Output(districtList, false))
|
||||
}
|
||||
|
||||
func TestGetCoordinateFromAddress(t *testing.T) {
|
||||
lng, lat, districtCode := autonaviAPI.GetCoordinateFromAddress("天府广场", "成都市")
|
||||
t.Logf("lng:%f, lat:%f, districtCode:%d", lng, lat, districtCode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user