高德page
This commit is contained in:
16
platformapi/autonavi/autonavi_page_test.go
Normal file
16
platformapi/autonavi/autonavi_page_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package autonavi
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
)
|
||||
|
||||
func TestGetCoordinateFromAddressByPage(t *testing.T) {
|
||||
lng, lat, err := autonaviAPI.GetCoordinateFromAddressByPage("广东深圳市龙华区观澜街道观澜社会福利中心1340号")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(lng, false))
|
||||
t.Log(utils.Format4Output(lat, false))
|
||||
}
|
||||
Reference in New Issue
Block a user