|
package utils
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestBmapGeocoding(t *testing.T) {
|
|
var addr = "上海市浦东新区日月光集团员工生活区"
|
|
addrGeocoding := GetAddrGeocoding(BmapGeoCodingRequest{addr})
|
|
fmt.Println("addrGeocoding : " + addrGeocoding.Latitude + "_" + addrGeocoding.Longitude)
|
|
}
|